aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/core/hub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 175179eb17ee..22811f1f86f3 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1573,6 +1573,7 @@ static int hub_configure(struct usb_hub *hub,
1573 return 0; 1573 return 0;
1574 1574
1575fail: 1575fail:
1576 hdev->maxchild = 0;
1576 dev_err (hub_dev, "config failed, %s (err %d)\n", 1577 dev_err (hub_dev, "config failed, %s (err %d)\n",
1577 message, ret); 1578 message, ret);
1578 /* hub_disconnect() frees urb and descriptor */ 1579 /* hub_disconnect() frees urb and descriptor */