diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-11-29 04:20:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-30 15:08:31 -0500 |
commit | e76aadc572288a158ae18ae1c10fe395c7bca066 (patch) | |
tree | 82c3e5a961039826c31b944d1f27f488743f9d8b /net/mac80211/scan.c | |
parent | 742c29fd5bcd73f14facd6c7f3912c5ab66739ed (diff) |
mac80211: revert on-channel work optimisations
The on-channel work optimisations have caused a
number of issues, and the code is unfortunately
very complex and almost impossible to follow.
Instead of attempting to put in more workarounds
let's just remove those optimisations, we can
work on them again later, after we change the
whole auth/assoc design.
This should fix rate_control_send_low() warnings,
see RH bug 731365.
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r-- | net/mac80211/scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 81863031e0a3..2c5041cc71f8 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c | |||
@@ -297,7 +297,7 @@ static void __ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted, | |||
297 | if (!was_hw_scan) { | 297 | if (!was_hw_scan) { |
298 | ieee80211_configure_filter(local); | 298 | ieee80211_configure_filter(local); |
299 | drv_sw_scan_complete(local); | 299 | drv_sw_scan_complete(local); |
300 | ieee80211_offchannel_return(local, true, true); | 300 | ieee80211_offchannel_return(local, true); |
301 | } | 301 | } |
302 | 302 | ||
303 | ieee80211_recalc_idle(local); | 303 | ieee80211_recalc_idle(local); |
@@ -602,7 +602,7 @@ static void ieee80211_scan_state_suspend(struct ieee80211_local *local, | |||
602 | * in off-channel state..will put that back | 602 | * in off-channel state..will put that back |
603 | * on-channel at the end of scanning. | 603 | * on-channel at the end of scanning. |
604 | */ | 604 | */ |
605 | ieee80211_offchannel_return(local, true, false); | 605 | ieee80211_offchannel_return(local, false); |
606 | 606 | ||
607 | *next_delay = HZ / 5; | 607 | *next_delay = HZ / 5; |
608 | /* afterwards, resume scan & go to next channel */ | 608 | /* afterwards, resume scan & go to next channel */ |