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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 18:00:21 +0000 (11:00 -0700)
commit0c9a32f0192e656daa2ff3c9149f6d71b4a1b873
tree674beaf37a5ece293968ef17e515c5e01c92d695
parent162f535f3fdd5b5fe463dcd86847e545a9efd067
staging: usbip: Notify usb core of port status changes

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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_hcd.c