diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-11-22 12:33:18 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 14:43:25 -0500 |
commit | e7979ac7826e3170c685e7fe6d8c594ac505a30a (patch) | |
tree | 5b6c46e39cc966f00fabb46a0bd5788294ed76ee /net/mac80211/util.c | |
parent | e170d180fb0fa13f86fc9f2b257eceb43f4e0859 (diff) |
mac80211: don't indicate probe resp change in IBSS mode
Due the a fall-through in the switch statement, the IBSS mode got a
report for AP_RPOBE_RESPONSE change on reconfig. Change this to an AP
only notification.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index c499a16b7200..5f7c1c601dc5 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1240,8 +1240,11 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1240 | changed |= BSS_CHANGED_IBSS; | 1240 | changed |= BSS_CHANGED_IBSS; |
1241 | /* fall through */ | 1241 | /* fall through */ |
1242 | case NL80211_IFTYPE_AP: | 1242 | case NL80211_IFTYPE_AP: |
1243 | changed |= BSS_CHANGED_SSID | | 1243 | changed |= BSS_CHANGED_SSID; |
1244 | BSS_CHANGED_AP_PROBE_RESP; | 1244 | |
1245 | if (sdata->vif.type == NL80211_IFTYPE_AP) | ||
1246 | changed |= BSS_CHANGED_AP_PROBE_RESP; | ||
1247 | |||
1245 | /* fall through */ | 1248 | /* fall through */ |
1246 | case NL80211_IFTYPE_MESH_POINT: | 1249 | case NL80211_IFTYPE_MESH_POINT: |
1247 | changed |= BSS_CHANGED_BEACON | | 1250 | changed |= BSS_CHANGED_BEACON | |