]> git.proxmox.com Git - qemu.git/commit
Fix usage of USB_DEV_FLAG_IS_HOST flag.
authorMichael Marineau <mike@marineau.org>
Sun, 12 May 2013 23:19:37 +0000 (19:19 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 11 Jun 2013 22:35:19 +0000 (17:35 -0500)
commita548bacfba7c80304b78d74c49c69d877bffe1ef
tree5ddd242a17ce7c9a7891eb0de425182783c4600b
parent9b5751ec09702ddf043bdd1f611880113d212c1a
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>
(cherry picked from commit 756335292f2b46775992c314cc70b54480a46d26)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/core.c