summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/debugfs.c
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-11-22 18:06:23 +0200
committerLuciano Coelho <coelho@ti.com>2012-11-28 11:41:44 +0200
commit1019975640ec16d1753c06ac99207f4af6a721a2 (patch)
tree0ee04cb1b322c87ca9cae76387fb21e76e5a876f /drivers/net/wireless/ti/wlcore/debugfs.c
parent6b70e7eb70cd6c5ad445ec02f74b84131a4c721a (diff)
downloadblackbird-op-linux-1019975640ec16d1753c06ac99207f4af6a721a2.tar.gz
blackbird-op-linux-1019975640ec16d1753c06ac99207f4af6a721a2.zip
wlcore: call ieee80211_sched_scan_stopped on interface removal
The interface might go down before we got the SCHED_STOPPED event, so make sure to call ieee80211_sched_scan_stopped() if the scanned interface is removed. Replace sched_scanning with sched_vif in order to save the scanned interface. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/debugfs.c')
-rw-r--r--drivers/net/wireless/ti/wlcore/debugfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.c b/drivers/net/wireless/ti/wlcore/debugfs.c
index 80376d461144..1cf2cdbae292 100644
--- a/drivers/net/wireless/ti/wlcore/debugfs.c
+++ b/drivers/net/wireless/ti/wlcore/debugfs.c
@@ -490,7 +490,6 @@ static ssize_t driver_state_read(struct file *file, char __user *user_buf,
DRIVER_STATE_PRINT_HEX(chip.id);
DRIVER_STATE_PRINT_STR(chip.fw_ver_str);
DRIVER_STATE_PRINT_STR(chip.phy_fw_ver_str);
- DRIVER_STATE_PRINT_INT(sched_scanning);
#undef DRIVER_STATE_PRINT_INT
#undef DRIVER_STATE_PRINT_LONG
OpenPOWER on IntegriCloud