Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118549
b: refs/heads/master
c: 502c12e
h: refs/heads/master
i:
  118547: 19c2839
v: v3
  • Loading branch information
Mohamed Abbas authored and John W. Linville committed Nov 6, 2008
1 parent ce710ac commit f037000
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 934f6c3f8e7f5d6a6d07ae2df283fd02393019dd
refs/heads/master: 502c12e1ef14967e08dabb04c674cf0f000e8f7e
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,13 @@ static void iwl_bg_request_scan(struct work_struct *data)
return;

done:
/* Cannot perform scan. Make sure we clear scanning
* bits from status so next scan request can be performed.
* If we don't clear scanning status bit here all next scan
* will fail
*/
clear_bit(STATUS_SCAN_HW, &priv->status);
clear_bit(STATUS_SCANNING, &priv->status);
/* inform mac80211 scan aborted */
queue_work(priv->workqueue, &priv->scan_completed);
mutex_unlock(&priv->mutex);
Expand Down

0 comments on commit f037000

Please sign in to comment.