diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-03-05 15:29:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-16 18:09:27 -0400 |
commit | fbf95296c1c8b1ba09bdea0438ce2c61e0e3be5d (patch) | |
tree | 0a6b5dfb72601cf4e75b89a4c3e03a14284c34d8 /drivers/net | |
parent | 19d8bc22bcea749da2ba065a1ff9e054fadb556e (diff) |
p54usb: stop USB core interference in exit path
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/p54/p54usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c index 9539ddcf379f..3b5e54e6793d 100644 --- a/drivers/net/wireless/p54/p54usb.c +++ b/drivers/net/wireless/p54/p54usb.c | |||
@@ -1024,6 +1024,7 @@ static struct usb_driver p54u_driver = { | |||
1024 | .disconnect = p54u_disconnect, | 1024 | .disconnect = p54u_disconnect, |
1025 | .pre_reset = p54u_pre_reset, | 1025 | .pre_reset = p54u_pre_reset, |
1026 | .post_reset = p54u_post_reset, | 1026 | .post_reset = p54u_post_reset, |
1027 | .soft_unbind = 1, | ||
1027 | }; | 1028 | }; |
1028 | 1029 | ||
1029 | static int __init p54u_init(void) | 1030 | static int __init p54u_init(void) |