diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-05-05 03:44:02 -0400 |
---|---|---|
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) |
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 00502b1a9e38..0528615ac827 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -160,6 +160,8 @@ enum ieee80211_bss_change { | |||
160 | BSS_CHANGED_BEACON_ENABLED = 1<<9, | 160 | BSS_CHANGED_BEACON_ENABLED = 1<<9, |
161 | BSS_CHANGED_CQM = 1<<10, | 161 | BSS_CHANGED_CQM = 1<<10, |
162 | BSS_CHANGED_IBSS = 1<<11, | 162 | BSS_CHANGED_IBSS = 1<<11, |
163 | |||
164 | /* when adding here, make sure to change ieee80211_reconfig */ | ||
163 | }; | 165 | }; |
164 | 166 | ||
165 | /** | 167 | /** |