diff options
author | Johannes Berg | 2009-11-18 13:03:43 +0100 |
---|---|---|
committer | John W. Linville | 2009-11-18 23:09:25 +0100 |
commit | 98d3a7ca9232a436c067888936a0133e64ea126a (patch) | |
tree | 0430f53609c0a7454deec1034af9d5b2660a5e4d /net/wireless/core.h | |
parent | mac80211: Fix panic in aggregation handling (diff) | |
download | kernel-qcow2-linux-98d3a7ca9232a436c067888936a0133e64ea126a.tar.gz kernel-qcow2-linux-98d3a7ca9232a436c067888936a0133e64ea126a.tar.xz kernel-qcow2-linux-98d3a7ca9232a436c067888936a0133e64ea126a.zip |
cfg80211: re-join IBSS when privacy changes
When going from/to a WEP protected IBSS, we need to
leave this one and join a new one to take care of
the changed capability.
Cc: Hong Zhang <henryzhang62@yahoo.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 5aeebb9085f8..a9db9e6255bb 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -273,6 +273,8 @@ int cfg80211_join_ibss(struct cfg80211_registered_device *rdev, struct cfg80211_ibss_params *params, struct cfg80211_cached_keys *connkeys); void cfg80211_clear_ibss(struct net_device *dev, bool nowext); +int __cfg80211_leave_ibss(struct cfg80211_registered_device *rdev, + struct net_device *dev, bool nowext); int cfg80211_leave_ibss(struct cfg80211_registered_device *rdev, struct net_device *dev, bool nowext); void __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid); |