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