diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-11-29 23:24:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-30 17:40:02 +0100 |
commit | 1ac7c8a78be85f84b019d3d2742d1a9f07255cc5 (patch) | |
tree | b629c4efccfa31f5b38d914273587b2d1e2938c7 /drivers | |
parent | usbip: Fix USB device hang due to wrong enabling of scatter-gather (diff) | |
download | linux-1ac7c8a78be85f84b019d3d2742d1a9f07255cc5.tar.xz linux-1ac7c8a78be85f84b019d3d2742d1a9f07255cc5.zip |
usbip: fix usbip attach to find a port that matches the requested speed
usbip attach fails to find a free port when the device on the first port
is a USB_SPEED_SUPER device and non-super speed device is being attached.
It keeps checking the first port and returns without a match getting stuck
in a loop.
Fix it check to find the first port with matching speed.
Reported-by: Juan Zea <juan.zea@qindel.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions