From: Ganapathi Bhat Date: Fri, 1 Jun 2018 10:41:19 +0000 (+0530) Subject: Revert "mwifiex: handle race during mwifiex_usb_disconnect" X-Git-Tag: v4.19~602^2~88^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e58e741c001813c02cab17720835d56398f9ffc;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/marvell/mwifiex/usb.c b/drivers/net/wireless/marvell/mwifiex/usb.c index 6e3cf98..bc475b8 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,