mwifiex: Fix issue in the SDIO reset path of mwifiex.
authorMaithili Hinge <maithili@marvell.com>
Mon, 23 Mar 2015 06:01:25 +0000 (23:01 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Mar 2015 08:32:56 +0000 (11:32 +0300)
SDIO reset was not happening properly on mwifiex as cancel_work_sync
in mwifiex_sdio_remove used to kill the calling work function itself.
Due to this, the interface was not getting removed and card was not
getting added again. Reset work function has been made independent
of adapter variable and cancel_work_sync has been moved to cleanup
function.

Signed-off-by: Maithili Hinge <maithili@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/main.c
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/pcie.c
drivers/net/wireless/mwifiex/sdio.c

Simple merge
Simple merge
Simple merge
Simple merge