linux/tools/usb
Yuyang Du 37e47d5cfe usb: usbip tool: Fix get_nports()
The commit 0775a9cbc6 ("usbip: vhci extension: modifications
to vhci driver") introduced multiple controllers, and nports as a sys
file, and claimed to read the nports from it, but it didn't.

In addition, the get_nports() has been so wrong that even with 8 port
lines for instance, it gets 7 (I am guessing it is due to a '\n' mess).
Nevertheless, we fix it by reading the nports attribute.

Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-08 12:17:42 +02:00
..
ffs-aio-example tools: ffs-aio-example: use endpoint addresses from descriptors 2015-01-15 09:41:49 -06:00
usbip usb: usbip tool: Fix get_nports() 2017-04-08 12:17:42 +02:00
.gitignore tools/usb: Add .gitignore file 2017-03-16 18:01:01 +09:00
ffs-test.c tools: usb: ffs-test: add SS descriptors 2017-01-24 11:04:16 +02:00
hcd-tests.sh USB: usbtest - add alignment tests to test script 2011-01-22 19:42:14 -08:00
Makefile Revert "tools: ffs-test: convert to new descriptor format fixing compilation error" 2014-06-27 10:41:00 -05:00
testusb.c tools: usb: testusb: change the default value for length from 512 to 1024 2015-09-27 10:54:31 -05:00