diff options
author | Luciano Coelho <coelho@ti.com> | 2011-05-10 15:46:02 +0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-05-13 01:06:33 +0400 |
commit | 33c2c06cd2d766387cf919d0afd432cc5796c369 (patch) | |
tree | 6a3dd1f574fba9841bb9feeb3067b6fab5b819bb /drivers/net/wireless/wl12xx/scan.c | |
parent | 95feadca6dca909ae0f6e65665b782c7ca9d5122 (diff) | |
download | linux-33c2c06cd2d766387cf919d0afd432cc5796c369.tar.xz |
wl12xx: implement scheduled scan driver operations and reporting
This patch adds the mac80211 operations for scheduled scan and the
scheduled scan results reporting.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/scan.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/scan.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/scan.c b/drivers/net/wireless/wl12xx/scan.c index d78044f00810..668ff46a6824 100644 --- a/drivers/net/wireless/wl12xx/scan.c +++ b/drivers/net/wireless/wl12xx/scan.c @@ -548,8 +548,12 @@ void wl1271_scan_sched_scan_stop(struct wl1271 *wl) ret = wl1271_cmd_send(wl, CMD_STOP_PERIODIC_SCAN, stop, sizeof(*stop), 0); - if (ret < 0) + if (ret < 0) { wl1271_error("failed to send sched scan stop command"); + goto out_free; + } + wl->sched_scanning = false; +out_free: kfree(stop); } |