diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-20 18:43:46 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:17 -0400 |
commit | 9d308429a9fd0fa644f0b748f6241631f74a6cda (patch) | |
tree | 944b813829d21665f05e579bd97fd5c070f7ddf8 /net/wireless/core.h | |
parent | b9a5f8cab751d362f7c2d94899ca788c22fcd1ef (diff) | |
download | kernel_samsung_smdk4412-9d308429a9fd0fa644f0b748f6241631f74a6cda.zip kernel_samsung_smdk4412-9d308429a9fd0fa644f0b748f6241631f74a6cda.tar.gz kernel_samsung_smdk4412-9d308429a9fd0fa644f0b748f6241631f74a6cda.tar.bz2 |
cfg80211: clear WEXT SSID when clearing IBSS
When we leave an IBSS, we should clear the SSID and not just the
BSSID, but since WEXT allows configuring while the interface is
down we must not clear it when leaving due to taking the iface
down, so some complications are needed.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 89a8159..3e49d33 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -147,8 +147,8 @@ void cfg80211_bss_age(struct cfg80211_registered_device *dev, int cfg80211_join_ibss(struct cfg80211_registered_device *rdev, struct net_device *dev, struct cfg80211_ibss_params *params); -void cfg80211_clear_ibss(struct net_device *dev); +void cfg80211_clear_ibss(struct net_device *dev, bool nowext); int cfg80211_leave_ibss(struct cfg80211_registered_device *rdev, - struct net_device *dev); + struct net_device *dev, bool nowext); #endif /* __NET_WIRELESS_CORE_H */ |