diff mbox

[1/2] Revert "mwifiex: handle race during mwifiex_usb_disconnect"

Message ID 1527849680-31445-1-git-send-email-gbhat@marvell.com (mailing list archive)
State Accepted
Commit 7e58e741c001813c02cab17720835d56398f9ffc
Delegated to: Kalle Valo
Headers show

Commit Message

Ganapathi Bhat June 1, 2018, 10:41 a.m. UTC
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>
---
 drivers/net/wireless/marvell/mwifiex/usb.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Kalle Valo June 1, 2018, 3:56 p.m. UTC | #1
Ganapathi Bhat <gbhat@marvell.com> writes:

> 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>

I'll queue both of these patches to 4.18.
Kalle Valo June 24, 2018, 5:01 p.m. UTC | #2
Ganapathi Bhat <gbhat@marvell.com> wrote:

> 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>

2 patches applied to wireless-drivers.git, thanks.

7e58e741c001 Revert "mwifiex: handle race during mwifiex_usb_disconnect"
f8c095f67962 mwifiex: handle race during mwifiex_usb_disconnect
diff mbox

Patch

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,