lkml.org 
[lkml]   [2003]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] USB Fixes for 2.6.0-test11
From
Date
ChangeSet 1.1523, 2003/12/09 15:41:57-08:00, stern@rowland.harvard.edu

[PATCH] USB: fix bug not setting device state following usb_device_reset()


drivers/usb/core/hub.c | 1 +
1 files changed, 1 insertion(+)


diff -Nru a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
--- a/drivers/usb/core/hub.c Wed Dec 10 16:47:09 2003
+++ b/drivers/usb/core/hub.c Wed Dec 10 16:47:09 2003
@@ -1345,6 +1345,7 @@
dev->devpath, ret);
return ret;
}
+ dev->state = USB_STATE_CONFIGURED;

for (i = 0; i < dev->actconfig->desc.bNumInterfaces; i++) {
struct usb_interface *intf = dev->actconfig->interface[i];
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.049 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site