mwifiex: Adjust calling place of mwifiex_terminate_workqueue
authorMarc Yang <yangyang@marvell.com>
Wed, 31 Dec 2014 10:36:39 +0000 (02:36 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Jan 2015 19:19:31 +0000 (21:19 +0200)
commit9d2e85e001c15789798a1550cce5e7cc3ffe4e9b
tree81881114f20f8a4ac6b186543b20f352e0fdc529
parent7197325b17737144e2e7cb9f68d2ebd1a0696ee1
mwifiex: Adjust calling place of mwifiex_terminate_workqueue

Workqueue needs to be flushed early when removing card, otherwise
soft lockup issue may happen because main_process is triggered by
interrupt while card is being removed.

Signed-off-by: Marc Yang <yangyang@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/main.c