diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-27 06:01:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-29 15:46:14 -0400 |
commit | 0e82ffe3b90bcad72cfe80e4379946b8fb0691ca (patch) | |
tree | c6b73524d4db86ddcaa866d7ea81a9600b610413 /net/wireless/wext-sme.c | |
parent | a7bc376c858e0e724b8cb2db09b6874562d377ca (diff) |
cfg80211: combine iwfreq implementations
Until now we implemented iwfreq for managed mode, we
needed to keep the implementations separate, but now
that we have all versions implemented we can combine
them and export just one handler.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/wext-sme.c')
-rw-r--r-- | net/wireless/wext-sme.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c index 4c689fd865b0..509279a1cfb2 100644 --- a/net/wireless/wext-sme.c +++ b/net/wireless/wext-sme.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <linux/etherdevice.h> | 8 | #include <linux/etherdevice.h> |
9 | #include <linux/if_arp.h> | 9 | #include <linux/if_arp.h> |
10 | #include <net/cfg80211.h> | 10 | #include <net/cfg80211.h> |
11 | #include "wext-compat.h" | ||
11 | #include "nl80211.h" | 12 | #include "nl80211.h" |
12 | 13 | ||
13 | int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev, | 14 | int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev, |
@@ -108,8 +109,6 @@ int cfg80211_mgd_wext_siwfreq(struct net_device *dev, | |||
108 | cfg80211_unlock_rdev(rdev); | 109 | cfg80211_unlock_rdev(rdev); |
109 | return err; | 110 | return err; |
110 | } | 111 | } |
111 | /* temporary symbol - mark GPL - in the future the handler won't be */ | ||
112 | EXPORT_SYMBOL_GPL(cfg80211_mgd_wext_siwfreq); | ||
113 | 112 | ||
114 | int cfg80211_mgd_wext_giwfreq(struct net_device *dev, | 113 | int cfg80211_mgd_wext_giwfreq(struct net_device *dev, |
115 | struct iw_request_info *info, | 114 | struct iw_request_info *info, |
@@ -138,8 +137,6 @@ int cfg80211_mgd_wext_giwfreq(struct net_device *dev, | |||
138 | /* no channel if not joining */ | 137 | /* no channel if not joining */ |
139 | return -EINVAL; | 138 | return -EINVAL; |
140 | } | 139 | } |
141 | /* temporary symbol - mark GPL - in the future the handler won't be */ | ||
142 | EXPORT_SYMBOL_GPL(cfg80211_mgd_wext_giwfreq); | ||
143 | 140 | ||
144 | int cfg80211_mgd_wext_siwessid(struct net_device *dev, | 141 | int cfg80211_mgd_wext_siwessid(struct net_device *dev, |
145 | struct iw_request_info *info, | 142 | struct iw_request_info *info, |