summaryrefslogtreecommitdiffstats
path: root/net/mac802154/ieee802154_i.h
diff options
context:
space:
mode:
authorVarka Bhadram <varkabhadram@gmail.com>2015-07-07 10:50:43 +0530
committerMarcel Holtmann <marcel@holtmann.org>2015-07-23 17:10:50 +0200
commitd10270ce941ee89afd74076ea3ed8dbef8a0ff25 (patch)
tree7f8a76b666eb5d16eadfa1dc58420a018cbb6bb8 /net/mac802154/ieee802154_i.h
parent729a8989b3fa8ae7965c537dfccbd08512e84d3c (diff)
downloadlinux-d10270ce941ee89afd74076ea3ed8dbef8a0ff25.tar.bz2
mac802154: fix ieee802154_rx handling
Instead of passing ieee802154_hw pointer to ieee802154_rx, we can directly pass the ieee802154_local pointer. Signed-off-by: Varka Bhadram <varkabhadram@gmail.com> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/ieee802154_i.h')
-rw-r--r--net/mac802154/ieee802154_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index eb8502a6e719..6810d7a25aca 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -124,7 +124,7 @@ ieee802154_sdata_running(struct ieee802154_sub_if_data *sdata)
extern struct ieee802154_mlme_ops mac802154_mlme_wpan;
-void ieee802154_rx(struct ieee802154_hw *hw, struct sk_buff *skb);
+void ieee802154_rx(struct ieee802154_local *local, struct sk_buff *skb);
netdev_tx_t
ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
netdev_tx_t