aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-05-02 14:21:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-02 20:07:50 -0400
commitcee6a262550f53a13acfefbc1e3e5ff35c96182c (patch)
treec8bf0aaebedf3f613bd39e35e88680d73c622751
parentd93da492d9a8840a0bdda88e74df8d0f593f1977 (diff)
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: Alan Stern <stern@rowland.harvard.edu> Reported-and-tested-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz> CC: <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/usbip/vhci_hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c
index 0f02a4b12ae4..5d0caa8648e2 100644
--- a/drivers/staging/usbip/vhci_hcd.c
+++ b/drivers/staging/usbip/vhci_hcd.c
@@ -1139,7 +1139,7 @@ static int vhci_hcd_probe(struct platform_device *pdev)
1139 usbip_uerr("create hcd failed\n"); 1139 usbip_uerr("create hcd failed\n");
1140 return -ENOMEM; 1140 return -ENOMEM;
1141 } 1141 }
1142 1142 hcd->has_tt = 1;
1143 1143
1144 /* this is private data for vhci_hcd */ 1144 /* this is private data for vhci_hcd */
1145 the_controller = hcd_to_vhci(hcd); 1145 the_controller = hcd_to_vhci(hcd);