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>
This commit is contained in:
Johannes Berg
2008-11-26 22:36:31 +01:00
committed by John W. Linville
parent f650470a8f
commit fee52678db
4 changed files with 69 additions and 43 deletions
+7
View File
@@ -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 */