patch-2.3.99-pre7 linux/drivers/usb/hub.c

Next file: linux/drivers/usb/keybdev.c
Previous file: linux/drivers/usb/hid.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/usb/hub.c linux/drivers/usb/hub.c
@@ -406,6 +406,7 @@
 
 	/* Run it through the hoops (find a driver, etc) */
 	if (usb_new_device(usb)) {
+		usb_disconnect(&hub->children[port]);
 		/* Woops, disable the port */
 		dbg("hub: disabling port %d", port + 1);
 		usb_clear_port_feature(hub, port + 1, USB_PORT_FEAT_ENABLE);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)