[PATCH] Fix softmac scan
Softmac scanning fails because the stop flag is not cleared before scanning is started. The attached one-line patch fixes this. Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
1196862b79
commit
fe0b06b123
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ int ieee80211softmac_start_scan_implementation(struct net_device *dev)
|
|||
dprintk(PFX "Scanning %d channels\n", sm->scaninfo->number_channels);
|
||||
sm->scaninfo->current_channel_idx = 0;
|
||||
sm->scaninfo->started = 1;
|
||||
sm->scaninfo->stop = 0;
|
||||
INIT_COMPLETION(sm->scaninfo->finished);
|
||||
schedule_work(&sm->scaninfo->softmac_scan);
|
||||
spin_unlock_irqrestore(&sm->lock, flags);
|
||||
|
|
Loading…
Reference in a new issue