Revert "mwifiex: handle race during mwifiex_usb_disconnect"
authorGanapathi Bhat <gbhat@marvell.com>
Fri, 1 Jun 2018 10:41:19 +0000 (16:11 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 24 Jun 2018 16:59:34 +0000 (19:59 +0300)
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>
drivers/net/wireless/marvell/mwifiex/usb.c

index 6e3cf98..bc475b8 100644 (file)
@@ -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,