diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-12-31 11:36:42 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-06 20:19:49 +0100 |
commit | fc647467c178936aad29a1e5332c05a23d6efb39 (patch) | |
tree | 29e04b0dc1bf8a4ad1e3bd6982cc90a2c7a372f9 /drivers/net/wireless/mwifiex | |
parent | mwifiex: add wakeup timer based recovery mechanism (diff) | |
download | linux-fc647467c178936aad29a1e5332c05a23d6efb39.tar.xz linux-fc647467c178936aad29a1e5332c05a23d6efb39.zip |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c index 524692a59d4a..b115e0f94dd7 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); |