diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/event.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/event.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/event.c b/drivers/net/wireless/wl12xx/event.c index dc110e8a618..1e4bd6a2c39 100644 --- a/drivers/net/wireless/wl12xx/event.c +++ b/drivers/net/wireless/wl12xx/event.c | |||
@@ -191,11 +191,17 @@ static int wl1271_event_process(struct wl1271 *wl, struct event_mailbox *mbox) | |||
191 | if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { | 191 | if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { |
192 | wl1271_debug(DEBUG_EVENT, "PERIODIC_SCAN_REPORT_EVENT " | 192 | wl1271_debug(DEBUG_EVENT, "PERIODIC_SCAN_REPORT_EVENT " |
193 | "(status 0x%0x)", mbox->scheduled_scan_status); | 193 | "(status 0x%0x)", mbox->scheduled_scan_status); |
194 | |||
195 | wl1271_scan_sched_scan_results(wl); | ||
194 | } | 196 | } |
195 | 197 | ||
196 | if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) { | 198 | if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) { |
197 | wl1271_debug(DEBUG_EVENT, "PERIODIC_SCAN_COMPLETE_EVENT " | 199 | wl1271_debug(DEBUG_EVENT, "PERIODIC_SCAN_COMPLETE_EVENT " |
198 | "(status 0x%0x)", mbox->scheduled_scan_status); | 200 | "(status 0x%0x)", mbox->scheduled_scan_status); |
201 | if (wl->sched_scanning) { | ||
202 | wl1271_scan_sched_scan_stop(wl); | ||
203 | ieee80211_sched_scan_stopped(wl->hw); | ||
204 | } | ||
199 | } | 205 | } |
200 | 206 | ||
201 | /* disable dynamic PS when requested by the firmware */ | 207 | /* disable dynamic PS when requested by the firmware */ |