diff options
| author | Johannes Berg <[email protected]> | 2011-09-22 15:15:00 -0700 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2011-09-27 14:34:09 -0400 |
| commit | 84b1bec6d716fc8c289e2530cab109a6e097455b (patch) | |
| tree | 91659c23350ca7d93fa383ba9ea439d360140b8b /include/linux/timerqueue.h | |
| parent | a2fa2462f05115722beb2443d081a72f4f4450ea (diff) | |
iwlagn: fix scan complete processing
When we cancel a scan, the completion runs
only from the workqueue. This can cause the
remain-on-channel scan to fail when another
one was just canceled, because we're still
aborting it.
To fix this, run the completion inline with
the lock still held before returning from
iwl_scan_cancel_timeout().
Also, to avoid the scan complete work from
completing a new scan prematurely, add a
new STATUS_SCAN_COMPLETE bit.
Reported-by: Reinette Chatre <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Tested-by: Reinette Chatre <[email protected]>
Signed-off-by: Wey-Yi Guy <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions