Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121649
b: refs/heads/master
c: 951891c
h: refs/heads/master
i:
  121647: aad0696
v: v3
  • Loading branch information
Mohamed Abbas authored and John W. Linville committed Oct 31, 2008
1 parent 237dfee commit 7e85ac7
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: 60d32215a94ebba2517b8d92612200ab610943fd
refs/heads/master: 951891c7ef844919d30aac7b1fc7396fd8be23ff
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 @@ -834,6 +834,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 7e85ac7

Please sign in to comment.