All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/7] p54usb: stop USB core interference in exit path
@ 2009-03-05 20:29 Christian Lamparter
  2009-03-14  6:50 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Lamparter @ 2009-03-05 20:29 UTC (permalink / raw)
  To: linux-wireless; +Cc: John W. Linville

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>
---
diff -Nurp a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c
--- a/drivers/net/wireless/p54/p54usb.c	2009-03-04 22:17:37.000000000 +0100
+++ b/drivers/net/wireless/p54/p54usb.c	2009-03-05 14:49:43.000000000 +0100
@@ -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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-14  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 20:29 [PATCH 2/7] p54usb: stop USB core interference in exit path Christian Lamparter
2009-03-14  6:50 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.