usb-hub: need to check dev->attached
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 15 Sep 2011 07:20:02 +0000 (09:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 13 Oct 2011 10:58:51 +0000 (12:58 +0200)
commitde041596fa70c44c8d32c90e139df401c6a300bd
treefaeada2e292018334aefe97f64a341719c003d98
parentc42fd6dd2d69aab1918418d070d45b102e920dde
usb-hub: need to check dev->attached

commit 891fb2cd4592b6fe76106a69e0ca40efbf82726a did that for all host
controllers, the usb hub was left out by accident.

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