Stanislaw Gruszka bc86863de6 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>
2010-10-05 13:35:24 -04:00
..
2010-08-02 14:28:36 -05:00
2010-08-04 21:53:17 -07:00
2010-04-20 16:37:13 -07:00
2010-07-22 14:14:47 -07:00
2010-08-03 00:31:48 -07:00
2010-08-16 15:26:40 -04:00
2010-07-18 15:07:14 -07:00
2010-06-11 18:37:08 -07:00
2010-08-07 20:24:28 -07:00
2010-08-04 21:53:17 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-08-04 21:53:17 -07:00
2010-04-20 16:37:13 -07:00
2010-05-29 00:18:48 -07:00
2010-08-01 00:32:12 -07:00
2010-10-05 13:35:23 -04:00
2010-05-17 17:39:28 -07:00