summaryrefslogtreecommitdiffstats
path: root/drivers/usb/hub.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/hub.c')
-rw-r--r--drivers/usb/hub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/hub.c b/drivers/usb/hub.c
index 821dedb4a..534325986 100644
--- a/drivers/usb/hub.c
+++ b/drivers/usb/hub.c
@@ -406,6 +406,7 @@ static void usb_hub_port_connect_change(struct usb_device *hub, int port)
/* 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);