summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/marvell
diff options
context:
space:
mode:
authorGanapathi Bhat <gbhat@marvell.com>2018-06-01 16:11:19 +0530
committerKalle Valo <kvalo@codeaurora.org>2018-06-24 19:59:34 +0300
commit7e58e741c001813c02cab17720835d56398f9ffc (patch)
tree8d434cd99a421324cb2c9290ce63f70d7b7db60b /drivers/net/wireless/marvell
parent373c83a801f15b1e3d02d855fad89112bd4ccbe0 (diff)
Revert "mwifiex: handle race during mwifiex_usb_disconnect"
This reverts commit b817047ae70c0bd67b677b65d0d69d72cd6e9728. We have a better fix for this issue, which will be sent on top of this revert. Signed-off-by: Ganapathi Bhat <gbhat@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/usb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/usb.c b/drivers/net/wireless/marvell/mwifiex/usb.c
index 6e3cf9817730..bc475b83bb15 100644
--- a/drivers/net/wireless/marvell/mwifiex/usb.c
+++ b/drivers/net/wireless/marvell/mwifiex/usb.c
@@ -644,9 +644,6 @@ static void mwifiex_usb_disconnect(struct usb_interface *intf)
MWIFIEX_FUNC_SHUTDOWN);
}
- if (adapter->workqueue)
- flush_workqueue(adapter->workqueue);
-
mwifiex_usb_free(card);
mwifiex_dbg(adapter, FATAL,