diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-10-01 14:05:27 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-05 19:35:24 +0200 |
commit | bc86863de63e6ae7ec6f9f524604631608c6cb02 (patch) | |
tree | ae4d1096ea66a03e23f515739d630dc85e61aa86 /include/scsi/scsi_eh.h | |
parent | ath9k : Fix for displaying the channel number (diff) | |
download | linux-bc86863de63e6ae7ec6f9f524604631608c6cb02.tar.xz linux-bc86863de63e6ae7ec6f9f524604631608c6cb02.zip |
mac80211: perform scan cancel in hw reset work
Move ieee80211_scan_cancel() and all other related code to
ieee80211_restart_work() as ieee80211_restart_hw() is intended to be
callable from any context.
Fix a bug that RTNL lock is not taken during ieee80211_cancel_scan().
Take local->mtx before WARN(test_bit(SCAN_HW_SCANNING, &local->scanning)
to prevent the race condition with __ieee80211_start_scan() described
here: http://marc.info/?l=linux-wireless&m=128516716810537&w=2
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/scsi/scsi_eh.h')
0 files changed, 0 insertions, 0 deletions