mac802154: fix ieee802154_rx handling
[firefly-linux-kernel-4.4.55.git] / net / mac802154 / rx.c
index 7791c9b8cb571fc52a680a4dbfcec848cbbdb0a0..d1c33c1d6b9b3dcd74dc077b5de5b5556a18901e 100644 (file)
@@ -246,9 +246,8 @@ ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
        }
 }
 
-void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb)
+void ieee802154_rx(struct ieee802154_local *local, struct sk_buff *skb)
 {
-       struct ieee802154_local *local = hw_to_local(hw);
        u16 crc;
 
        WARN_ON_ONCE(softirq_count() == 0);