Skip to content
Snippets Groups Projects
Commit 01a97d45 authored by Marek Vasut's avatar Marek Vasut Committed by Remy Bohmer
Browse files

USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

parent 0b09f54a
No related branches found
No related tags found
No related merge requests found
......@@ -1166,6 +1166,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
dev->children[port] = usb;
usb->parent = dev;
usb->portnr = port + 1;
/* Run it through the hoops (find a driver, etc) */
if (usb_new_device(usb)) {
/* Woops, disable the port */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment