diff options
author | Luciano Coelho | 2011-05-10 13:46:02 +0200 |
---|---|---|
committer | Luciano Coelho | 2011-05-12 23:06:33 +0200 |
commit | 33c2c06cd2d766387cf919d0afd432cc5796c369 (patch) | |
tree | 6a3dd1f574fba9841bb9feeb3067b6fab5b819bb /drivers/net/wireless/wl12xx/scan.c | |
parent | wl12xx: add scheduled scan structures and commands (diff) | |
download | kernel-qcow2-linux-33c2c06cd2d766387cf919d0afd432cc5796c369.tar.gz kernel-qcow2-linux-33c2c06cd2d766387cf919d0afd432cc5796c369.tar.xz kernel-qcow2-linux-33c2c06cd2d766387cf919d0afd432cc5796c369.zip |
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); } |