summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-12-31 02:36:42 -0800
committerKalle Valo <kvalo@codeaurora.org>2015-01-06 21:19:49 +0200
commitfc647467c178936aad29a1e5332c05a23d6efb39 (patch)
tree29e04b0dc1bf8a4ad1e3bd6982cc90a2c7a372f9 /drivers/net/wireless/mwifiex
parent4636187da60b6e33526050235c610409d9cc00e8 (diff)
downloadop-kernel-dev-fc647467c178936aad29a1e5332c05a23d6efb39.zip
op-kernel-dev-fc647467c178936aad29a1e5332c05a23d6efb39.tar.gz
mwifiex: wakeup pending wait queues
Wakeup pending wait queues in unload path. This will help to avoid soft lockup issues in corner cases. Signed-off-by: Cathy Luo <cluo@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r--drivers/net/wireless/mwifiex/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index 524692a..b115e0f 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -408,6 +408,8 @@ mwifiex_adapter_cleanup(struct mwifiex_adapter *adapter)
del_timer(&adapter->wakeup_timer);
mwifiex_cancel_all_pending_cmd(adapter);
+ wake_up_interruptible(&adapter->cmd_wait_q.wait);
+ wake_up_interruptible(&adapter->hs_activate_wait_q);
/* Free lock variables */
mwifiex_free_lock_list(adapter);
OpenPOWER on IntegriCloud