diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-29 16:34:38 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-29 18:07:45 -0400 |
commit | 1054ed81c4f5225d7a45fe5dec67430280bf3793 (patch) | |
tree | 5051272418315fa8ee571467685fe086c4415861 | |
parent | ec718f3db9b7968ca5dfb10c85c56ff27149df94 (diff) |
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 <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | net/mac802154/rx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c index c9f1c72a1afc..f15c50b97c3c 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) | |||
239 | 239 | ||
240 | skb2 = skb_clone(skb, GFP_ATOMIC); | 240 | skb2 = skb_clone(skb, GFP_ATOMIC); |
241 | skb2->dev = sdata->dev; | 241 | skb2->dev = sdata->dev; |
242 | skb2->pkt_type = PACKET_HOST; | ||
243 | 242 | ||
244 | netif_rx_ni(skb2); | 243 | netif_rx_ni(skb2); |
245 | } | 244 | } |