projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba1e6eb
)
wlcore: cancel channel switch work on interface removal
author
Arik Nemtsov
<arik@wizery.com>
Sun, 12 May 2013 09:35:29 +0000
(12:35 +0300)
committer
Luciano Coelho
<coelho@ti.com>
Mon, 17 Jun 2013 09:14:29 +0000
(12:14 +0300)
Otherwise, if the work is pending, we might get
a bad dereference after the interface is removed.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ti/wlcore/main.c
b/drivers/net/wireless/ti/wlcore/main.c
index 7ee422f97c10d7259f89524422c841deb943bf70..ed200c61b231f247f93397faf351a5cf2826b321 100644
(file)
--- a/
drivers/net/wireless/ti/wlcore/main.c
+++ b/
drivers/net/wireless/ti/wlcore/main.c
@@
-2589,6
+2589,7
@@
unlock:
cancel_work_sync(&wlvif->rx_streaming_enable_work);
cancel_work_sync(&wlvif->rx_streaming_disable_work);
cancel_delayed_work_sync(&wlvif->connection_loss_work);
+ cancel_delayed_work_sync(&wlvif->channel_switch_work);
mutex_lock(&wl->mutex);
}