p54usb: stop USB core interference in exit path
authorChristian Lamparter <chunkeey@web.de>
Thu, 5 Mar 2009 20:29:51 +0000 (21:29 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Mar 2009 22:09:27 +0000 (18:09 -0400)
The patch fixes a problem when the (Soft)LED stayed on after the module was unloaded.
It turned out that the USB core disables all endpoints before calling the disconnect method.
So it was impossible to switch off the radio & LEDs.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54usb.c

index 9539ddc..3b5e54e 100644 (file)
@@ -1024,6 +1024,7 @@ static struct usb_driver p54u_driver = {
        .disconnect = p54u_disconnect,
        .pre_reset = p54u_pre_reset,
        .post_reset = p54u_post_reset,
+       .soft_unbind = 1,
 };
 
 static int __init p54u_init(void)