USB: fix regression in usbip by setting has_tt flag
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 2 May 2011 18:21:44 +0000 (14:21 -0400)
committerSteve Conklin <sconklin@canonical.com>
Thu, 2 Jun 2011 19:23:14 +0000 (14:23 -0500)
commit74651a8af3bbad8bf480b81867c39b1535534af9
treece6fd8472fcb9b38a572f817ea52b3d30c86b250
parent633928d35918f30f1d29ba253eec9d07141522c6
USB: fix regression in usbip by setting has_tt flag

BugLink: http://bugs.launchpad.net/bugs/780546

commit cee6a262550f53a13acfefbc1e3e5ff35c96182c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/staging/usbip/vhci_hcd.c