summaryrefslogtreecommitdiffstats
path: root/net/mac802154/ieee802154_i.h
diff options
context:
space:
mode:
authorAlexander Aring2014-11-12 03:36:48 +0100
committerMarcel Holtmann2014-11-12 05:10:35 +0100
commit592dfbfc72f5352437c883aa11ab579d10cdb595 (patch)
tree628e6a9521161d134f98140c15748f7a782035a0 /net/mac802154/ieee802154_i.h
parentBluetooth: 6lowpan: Remove unnecessary RCU callback (diff)
downloadkernel-qcow2-linux-592dfbfc72f5352437c883aa11ab579d10cdb595.tar.gz
kernel-qcow2-linux-592dfbfc72f5352437c883aa11ab579d10cdb595.tar.xz
kernel-qcow2-linux-592dfbfc72f5352437c883aa11ab579d10cdb595.zip
mac820154: move interface unregistration into iface
This patch move the iface unregistration into iface.c file to have a behaviour which is similar like mac80211. Also iface handling should be inside iface.c file only. Signed-off-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac802154/ieee802154_i.h b/net/mac802154/ieee802154_i.h
index e22f509af72b..abb19701d494 100644
--- a/net/mac802154/ieee802154_i.h
+++ b/net/mac802154/ieee802154_i.h
@@ -172,5 +172,6 @@ void ieee802154_if_remove(struct ieee802154_sub_if_data *sdata);
struct net_device *
ieee802154_if_add(struct ieee802154_local *local, const char *name,
struct wpan_dev **new_wpan_dev, int type);
+void ieee802154_remove_interfaces(struct ieee802154_local *local);
#endif /* __IEEE802154_I_H */