From: Alexander Aring Date: Wed, 29 Oct 2014 20:34:38 +0000 (+0100) Subject: mac802154: rx: remove override pkt_type set to PACKET_HOST X-Git-Tag: v5.15~16721^2~28^2~129^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1054ed81c4f5225d7a45fe5dec67430280bf3793;p=platform%2Fkernel%2Flinux-starfive.git mac802154: rx: remove override pkt_type set to PACKET_HOST This patch removes pkt_type set to PACKET_HOST while monitor receiving. This should be PACKET_OTHERHOST on monitor mode which already set before. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index c9f1c72..f15c50b 100644 --- a/net/mac802154/rx.c +++ b/net/mac802154/rx.c @@ -239,7 +239,6 @@ ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb) skb2 = skb_clone(skb, GFP_ATOMIC); skb2->dev = sdata->dev; - skb2->pkt_type = PACKET_HOST; netif_rx_ni(skb2); }