]> git.itanic.dy.fi Git - linux-stable/commit
staging: usbip: Notify usb core of port status changes
authorMax Vozeler <mvz@vozeler.com>
Tue, 21 Sep 2010 15:31:40 +0000 (17:31 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:08:18 +0000 (18:08 -0500)
commit1dcf63544ee21668c49cd519c3db50406bf1ffb0
tree869af63a0bc3cdf1347ea7a563690db3c7eecf78
parent9ff8711f3ec85bbf5c5c581bad4446b03b9e30c1
staging: usbip: Notify usb core of port status changes

commit 0c9a32f0192e656daa2ff3c9149f6d71b4a1b873 upstream.

This patch changes vhci to behave like dummy and
other hcds when disconnecting a device.

Previously detaching a device from the root hub
did not notify the usb core of the disconnect and
left the device visible.

Signed-off-by: Max Vozeler <mvz@vozeler.com>
Reported-by: Marco Lancione <marco@optikam.com>
Tested-by: Luc Jalbert <ljalbert@optikam.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/staging/usbip/vhci_hcd.c