You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
John W. Linville
parent
a7bc376c85
commit
0e82ffe3b9
@@ -8,6 +8,7 @@
|
||||
#include <linux/etherdevice.h>
|
||||
#include <linux/if_arp.h>
|
||||
#include <net/cfg80211.h>
|
||||
#include "wext-compat.h"
|
||||
#include "nl80211.h"
|
||||
|
||||
int cfg80211_mgd_wext_connect(struct cfg80211_registered_device *rdev,
|
||||
@@ -108,8 +109,6 @@ int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
|
||||
cfg80211_unlock_rdev(rdev);
|
||||
return err;
|
||||
}
|
||||
/* temporary symbol - mark GPL - in the future the handler won't be */
|
||||
EXPORT_SYMBOL_GPL(cfg80211_mgd_wext_siwfreq);
|
||||
|
||||
int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
|
||||
struct iw_request_info *info,
|
||||
@@ -138,8 +137,6 @@ int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
|
||||
/* no channel if not joining */
|
||||
return -EINVAL;
|
||||
}
|
||||
/* temporary symbol - mark GPL - in the future the handler won't be */
|
||||
EXPORT_SYMBOL_GPL(cfg80211_mgd_wext_giwfreq);
|
||||
|
||||
int cfg80211_mgd_wext_siwessid(struct net_device *dev,
|
||||
struct iw_request_info *info,
|
||||
|
||||
Reference in New Issue
Block a user