aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ieee80211/softmac/ieee80211softmac_scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_scan.c b/net/ieee80211/softmac/ieee80211softmac_scan.c
index 846c62db3c4c..290ddb0951d6 100644
--- a/net/ieee80211/softmac/ieee80211softmac_scan.c
+++ b/net/ieee80211/softmac/ieee80211softmac_scan.c
@@ -178,6 +178,7 @@ int ieee80211softmac_start_scan_implementation(struct net_device *dev)
178 dprintk(PFX "Scanning %d channels\n", sm->scaninfo->number_channels); 178 dprintk(PFX "Scanning %d channels\n", sm->scaninfo->number_channels);
179 sm->scaninfo->current_channel_idx = 0; 179 sm->scaninfo->current_channel_idx = 0;
180 sm->scaninfo->started = 1; 180 sm->scaninfo->started = 1;
181 sm->scaninfo->stop = 0;
181 INIT_COMPLETION(sm->scaninfo->finished); 182 INIT_COMPLETION(sm->scaninfo->finished);
182 schedule_work(&sm->scaninfo->softmac_scan); 183 schedule_work(&sm->scaninfo->softmac_scan);
183 spin_unlock_irqrestore(&sm->lock, flags); 184 spin_unlock_irqrestore(&sm->lock, flags);