mwifiex: don't pretend to resume while remove()'ing
authorBrian Norris <briannorris@chromium.org>
Fri, 18 Nov 2016 14:00:28 +0000 (19:30 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 19 Nov 2016 07:18:49 +0000 (09:18 +0200)
commit7ccdf72f9128104fb1dd1cf46856562380ef8f44
treede43a61b1ded81c53cc2489f56d9be01531bf836
parenta1beec4b2c6f74365e469df08270a3b847006bec
mwifiex: don't pretend to resume while remove()'ing

The device core will not allow suspend() to race with remove().

Signed-off-by: Brian Norris <briannorris@chromium.org>
Tested-by: Xinming Hu <huxm@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c
drivers/net/wireless/marvell/mwifiex/sdio.c
drivers/net/wireless/marvell/mwifiex/usb.c