diff options
author | 2018-04-30 16:17:19 -0600 | |
---|---|---|
committer | 2018-05-15 09:47:47 +0200 | |
commit | 1e180f167d4e413afccbbb4a421b48b2de832549 (patch) | |
tree | bf534b71bb116d35fff96aa5b1a1f56a4d2ff6cf /drivers/usb/usbip/stub_dev.c | |
parent | usbip: usbip_host: refine probe and disconnect debug msgs to be useful (diff) | |
download | linux-dev-1e180f167d4e413afccbbb4a421b48b2de832549.tar.xz linux-dev-1e180f167d4e413afccbbb4a421b48b2de832549.zip |
usbip: usbip_host: delete device from busid_table after rebind
Device is left in the busid_table after unbind and rebind. Rebind
initiates usb bus scan and the original driver claims the device.
After rescan the device should be deleted from the busid_table as
it no longer belongs to usbip_host.
Fix it to delete the device after device_attach() succeeds.
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/stub_dev.c')
0 files changed, 0 insertions, 0 deletions