Files
linux-apfs/net/mac80211
Stanislaw Gruszka 4136c4224c mac80211: assure we also cancel deferred scan request
This is partial revert and fix for commit
85f72bc839 "mac80211: only cancel
software-based scans on suspend"

When cfg80211 request the scan and mac80211 perform some management work,
we defer the scan request. We do not canceling such requests when calling
ieee80211_scan_cancel(), because of SCAN_SW_SCANNING bit check just
before the call. So fix that problem.

Another problem, which commit 85f72bc839
tries to solve, is we can not cancel HW scan. Hence patch make
ieee80211_scan_cancel() ignore HW scan (see code comments). Keeping
local->mtx lock assures that the deferred scan will not become
"working" HW scan.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-10-06 16:30:42 -04:00
..
2010-06-14 15:38:17 -04:00
2010-08-25 14:33:17 -04:00
2010-10-06 16:30:40 -04:00
2010-07-08 16:35:50 -04:00
2010-07-08 16:35:50 -04:00
2010-10-06 16:30:40 -04:00
2010-08-16 16:45:11 -04:00
2010-07-08 16:35:50 -04:00
2010-01-05 16:21:40 -05:00
2010-09-27 15:57:54 -04:00