diff options
author | Xinming Hu <huxm@marvell.com> | 2016-11-16 18:39:05 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-01-12 16:44:29 +0200 |
commit | 5bf15e3fb85d8c3957afc35a572ee5476f491c12 (patch) | |
tree | 3bb1d4d4a48cba69c0ee1db24631b91a8e1e0715 /include | |
parent | a505e58252715bbc18a0ee1abae23615fe2586db (diff) |
mwifiex: don't wait for main_process in shutdown_drv
main_process is not expected to be running when shutdown_drv function
is called. currently we wait for main_process completion in the
function.
Actually the caller has already made sure main_process is completed by
performing below actions.
(1) disable interrupts in if_ops->disable_int.
(2) set adapter->surprise_removed = true, main_process wont be queued.
(3) mwifiex_terminate_workqueue(adapter), wait for workqueue to be
completed.
This patch removes redundant wait code and takes care of related
cleanup.
Signed-off-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions