Fix usage of USB_DEV_FLAG_IS_HOST flag.
commit756335292f2b46775992c314cc70b54480a46d26
authorMichael Marineau <mike@marineau.org>
Sun, 12 May 2013 23:19:37 +0000 (12 19:19 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 3 Jun 2013 05:17:12 +0000 (3 07:17 +0200)
tree674da87466666e7c44cdb9980c8c2d81fb82553c
parentf10acc8b38d65a66ffa0588a036489d7fa6a593e
Fix usage of USB_DEV_FLAG_IS_HOST flag.

USB_DEV_FLAG_IS_HOST is the bit number, not value. Booting with a
"Fitbit Base Station" USB dongle was triggering this assert.

Signed-off-by: Michael Marineau <mike@marineau.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/core.c