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)
commitfbf95296c1c8b1ba09bdea0438ce2c61e0e3be5d
tree0a6b5dfb72601cf4e75b89a4c3e03a14284c34d8
parent19d8bc22bcea749da2ba065a1ff9e054fadb556e
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>
drivers/net/wireless/p54/p54usb.c