aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index d15a2c997954..b9eac5551d82 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -6273,6 +6273,14 @@ static void iwl3945_bg_request_scan(struct work_struct *data)
6273 return; 6273 return;
6274 6274
6275 done: 6275 done:
6276 /* can not perform scan make sure we clear scanning
6277 * bits from status so next scan request can be performed.
6278 * if we dont clear scanning status bit here all next scan
6279 * will fail
6280 */
6281 clear_bit(STATUS_SCAN_HW, &priv->status);
6282 clear_bit(STATUS_SCANNING, &priv->status);
6283
6276 /* inform mac80211 scan aborted */ 6284 /* inform mac80211 scan aborted */
6277 queue_work(priv->workqueue, &priv->scan_completed); 6285 queue_work(priv->workqueue, &priv->scan_completed);
6278 mutex_unlock(&priv->mutex); 6286 mutex_unlock(&priv->mutex);