diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-05-05 09:44:02 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-07 14:55:49 -0400 |
commit | ac8dd506e40ee2c7fcc61654a44c32555a0a8d6c (patch) | |
tree | d0c673f9002d453af211a3fc25705ed3f8ab219d /include/net/mac80211.h | |
parent | bac6fafd4d6a0af26aeb37277a39607f7ce0be77 (diff) | |
download | kernel_samsung_smdk4412-ac8dd506e40ee2c7fcc61654a44c32555a0a8d6c.zip kernel_samsung_smdk4412-ac8dd506e40ee2c7fcc61654a44c32555a0a8d6c.tar.gz kernel_samsung_smdk4412-ac8dd506e40ee2c7fcc61654a44c32555a0a8d6c.tar.bz2 |
mac80211: fix BSS info reconfiguration
When reconfiguring an interface due to a previous
hardware restart, mac80211 will currently include
the new IBSS flag on non-IBSS interfaces which may
confuse drivers.
Instead of doing the ~0 trick, simply spell out
which things are going to be reconfigured.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 00502b1..0528615 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -160,6 +160,8 @@ enum ieee80211_bss_change { BSS_CHANGED_BEACON_ENABLED = 1<<9, BSS_CHANGED_CQM = 1<<10, BSS_CHANGED_IBSS = 1<<11, + + /* when adding here, make sure to change ieee80211_reconfig */ }; /** |