aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-11-26 22:36:31 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-12-05 09:32:13 -0500
commitfee52678dbda2099a25243e79da98dc390e1939a (patch)
tree4bf459c869e89cf2bb0be2869be3e6a720f9a218 /include/net
parentf650470a8f506bc33a15778432ebb8cdcf89175b (diff)
cfg80211: handle SIOCGIWNAME
This patch moves the SIOCGIWNAME handling from mac80211 to cfg80211. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 53b06f6c62c..c97eac34ec0 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5,6 +5,8 @@
#include <linux/skbuff.h>
#include <linux/nl80211.h>
#include <net/genetlink.h>
+/* remove once we remove the wext stuff */
+#include <net/iw_handler.h>
/*
* 802.11 configuration in-kernel interface
@@ -524,4 +526,9 @@ struct cfg80211_ops {
enum nl80211_sec_chan_offset);
};
+/* temporary wext handlers */
+int cfg80211_wext_giwname(struct net_device *dev,
+ struct iw_request_info *info,
+ char *name, char *extra);
+
#endif /* __NET_CFG80211_H */