]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/host-libusb.c
host-libusb: Correct test for USB packet state
authorEd Maste <emaste@freebsd.org>
Tue, 7 May 2013 14:06:12 +0000 (10:06 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 3 Jun 2013 05:17:12 +0000 (07:17 +0200)
commit45ec267160307ce2ca7494d942589ba222b29479
treedb99f65b7f26982da76e8d09178825a46574f58e
parent756335292f2b46775992c314cc70b54480a46d26
host-libusb: Correct test for USB packet state

USB_RET_ASYNC is -6, so inflight was always false.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/host-libusb.c