OSDN Git Service

xhci: fix port status
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Mar 2012 14:14:12 +0000 (15:14 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Mar 2012 11:28:05 +0000 (12:28 +0100)
commitcf21a4aef712075d313da4ea924a3376574c16e5
tree99e42438e3be5c53d3201f3b91437b248e885be0
parent2850ca9ed1023ce30ecd0582a66ded7a180e7616
xhci: fix port status

Don't signal port status change if the usb device isn't in attached
state.  Happens with usb-host devices with the pass-through device
being plugged out at the host.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-xhci.c