OSDN Git Service

usb: usbip tool: Fix refresh_imported_device_list()
authorYuyang Du <yuyang.du@intel.com>
Mon, 22 May 2017 10:20:17 +0000 (18:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 08:48:24 +0000 (10:48 +0200)
commitfd92b7deb98a4edd31ffcc2d64cee36103805ff5
tree2a93c0178340fb019d323aca784bd88b72b3672d
parentaa3ecb9154acb99282f315fe6c34ce4b7eb4d67e
usb: usbip tool: Fix refresh_imported_device_list()

The commit 0775a9cbc694e8c7 ("usbip: vhci extension: modifications
to vhci driver") introduced multiple controllers, but the status
of the ports are only extracted from the first status file, fix it.

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>
tools/usb/usbip/libsrc/vhci_driver.c