diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2006-02-07 15:20:52 -0600 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-22 22:17:02 -0500 |
commit | fe0b06b123762ab620b5bee3dab1576ddddd0a7f (patch) | |
tree | dc9fc80b8d8f313cfd8f6098cd01673b931db3af /net/ieee80211/softmac | |
parent | 1196862b7926d5312c7f8e8eaecba658b6553ba0 (diff) | |
download | kernel_samsung_crespo-fe0b06b123762ab620b5bee3dab1576ddddd0a7f.zip kernel_samsung_crespo-fe0b06b123762ab620b5bee3dab1576ddddd0a7f.tar.gz kernel_samsung_crespo-fe0b06b123762ab620b5bee3dab1576ddddd0a7f.tar.bz2 |
[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>
Diffstat (limited to 'net/ieee80211/softmac')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_scan.c b/net/ieee80211/softmac/ieee80211softmac_scan.c index 846c62d..290ddb0 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) 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); |