diff options
Diffstat (limited to 'net/ieee80211/softmac')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_scan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_scan.c b/net/ieee80211/softmac/ieee80211softmac_scan.c index ad67368b58ed..5507feab32de 100644 --- a/net/ieee80211/softmac/ieee80211softmac_scan.c +++ b/net/ieee80211/softmac/ieee80211softmac_scan.c | |||
@@ -134,7 +134,8 @@ void ieee80211softmac_scan(void *d) | |||
134 | si->started = 0; | 134 | si->started = 0; |
135 | spin_unlock_irqrestore(&sm->lock, flags); | 135 | spin_unlock_irqrestore(&sm->lock, flags); |
136 | 136 | ||
137 | dprintk(PFX "Scanning finished\n"); | 137 | dprintk(PFX "Scanning finished: scanned %d channels starting with channel %d\n", |
138 | sm->scaninfo->number_channels, sm->scaninfo->channels[0].channel); | ||
138 | ieee80211softmac_scan_finished(sm); | 139 | ieee80211softmac_scan_finished(sm); |
139 | complete_all(&sm->scaninfo->finished); | 140 | complete_all(&sm->scaninfo->finished); |
140 | } | 141 | } |
@@ -182,8 +183,6 @@ int ieee80211softmac_start_scan_implementation(struct net_device *dev) | |||
182 | sm->scaninfo->channels = sm->ieee->geo.bg; | 183 | sm->scaninfo->channels = sm->ieee->geo.bg; |
183 | sm->scaninfo->number_channels = sm->ieee->geo.bg_channels; | 184 | sm->scaninfo->number_channels = sm->ieee->geo.bg_channels; |
184 | } | 185 | } |
185 | dprintk(PFX "Start scanning with channel: %d\n", sm->scaninfo->channels[0].channel); | ||
186 | dprintk(PFX "Scanning %d channels\n", sm->scaninfo->number_channels); | ||
187 | sm->scaninfo->current_channel_idx = 0; | 186 | sm->scaninfo->current_channel_idx = 0; |
188 | sm->scaninfo->started = 1; | 187 | sm->scaninfo->started = 1; |
189 | sm->scaninfo->stop = 0; | 188 | sm->scaninfo->stop = 0; |