p54usb: utilize usb_reset_device for 3887
authorChristian Lamparter <chunkeey@web.de>
Fri, 26 Dec 2008 18:08:31 +0000 (19:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 20:59:39 +0000 (15:59 -0500)
commit6982869d993009c02cefcca98a67b212d0e61c5f
treebda0dbb4dfe78aa7ddfaa1f221b9c0ef1b4ac789
parent6b1c7c67603efdf0b39f6056989b0f8194cdc1f3
p54usb: utilize usb_reset_device for 3887

Sometimes on unload or reboot the 3887 USB devices become stuck.
<usual log entry>
kernel: usbcore: registered new interface driver p54usb
kernel: usb 2-10: (p54usb) reset failed! (-110)
kernel: p54usb: probe of 2-10:1.0 failed with error -110
[...]

and a physical unplug and replug was necessary.
However we should be able to do this in software as well,
without any user interaction.

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