]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mac802154: rx: remove override pkt_type set to PACKET_HOST
authorAlexander Aring <alex.aring@gmail.com>
Wed, 29 Oct 2014 20:34:38 +0000 (21:34 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 29 Oct 2014 22:07:45 +0000 (23:07 +0100)
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 <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/rx.c

index c9f1c72a1afc042b218f142aa6a201f6b7b71e51..f15c50b97c3c0d6253ee40a223b0a58b810ca3a8 100644 (file)
@@ -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);
        }