Skip to content

Commit fe0b06b

Browse files
lwfingerlinvjw
authored andcommitted
[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>
1 parent 1196862 commit fe0b06b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/ieee80211/softmac/ieee80211softmac_scan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ int ieee80211softmac_start_scan_implementation(struct net_device *dev)
178178
dprintk(PFX "Scanning %d channels\n", sm->scaninfo->number_channels);
179179
sm->scaninfo->current_channel_idx = 0;
180180
sm->scaninfo->started = 1;
181+
sm->scaninfo->stop = 0;
181182
INIT_COMPLETION(sm->scaninfo->finished);
182183
schedule_work(&sm->scaninfo->softmac_scan);
183184
spin_unlock_irqrestore(&sm->lock, flags);

0 commit comments

Comments
 (0)