Commit cee6a262 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

USB: fix regression in usbip by setting has_tt flag

This patch (as1460) fixes a regression in the usbip driver caused by
the new check for Transaction Translators in USB-2 hubs.  The root hub
registered by vhci_hcd needs to have the has_tt flag set, because it
can connect to low- and full-speed devices as well as high-speed
devices.
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: default avatarNikola Ciprich <nikola.ciprich@linuxbox.cz>
CC: <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d93da492
...@@ -1139,7 +1139,7 @@ static int vhci_hcd_probe(struct platform_device *pdev) ...@@ -1139,7 +1139,7 @@ static int vhci_hcd_probe(struct platform_device *pdev)
usbip_uerr("create hcd failed\n"); usbip_uerr("create hcd failed\n");
return -ENOMEM; return -ENOMEM;
} }
hcd->has_tt = 1;
/* this is private data for vhci_hcd */ /* this is private data for vhci_hcd */
the_controller = hcd_to_vhci(hcd); the_controller = hcd_to_vhci(hcd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment