summaryrefslogtreecommitdiffstats
path: root/hw/usb/host-libusb.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-06-03 08:37:54 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-06-03 08:37:54 -0500
commit40459a0312569817f622926efd0780ef2299aaa1 (patch)
tree35fb6c0fc95022191c94a1f5774dda84cce96cda /hw/usb/host-libusb.c
parent7087d3df18b8e8d27a2115dfc5d56614073e55de (diff)
parent37352df30fbc38d1de464db8927536d5e36cf52a (diff)
downloadhqemu-40459a0312569817f622926efd0780ef2299aaa1.zip
hqemu-40459a0312569817f622926efd0780ef2299aaa1.tar.gz
Merge remote-tracking branch 'kraxel/usb.83' into staging
# By Gerd Hoffmann (5) and others # Via Gerd Hoffmann * kraxel/usb.83: xhci: add live migration support xhci: add xhci_init_epctx xhci: add xhci_alloc_epctx xhci: add XHCISlot->addressed pci: add VMSTATE_MSIX host-libusb: Correct test for USB packet state Fix usage of USB_DEV_FLAG_IS_HOST flag. Message-id: 1370253951-12323-1-git-send-email-kraxel@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb/host-libusb.c')
-rw-r--r--hw/usb/host-libusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c
index f3de459..3a582c5 100644
--- a/hw/usb/host-libusb.c
+++ b/hw/usb/host-libusb.c
@@ -385,7 +385,7 @@ out:
static void usb_host_req_abort(USBHostRequest *r)
{
USBHostDevice *s = r->host;
- bool inflight = (r->p && r->p->state == USB_RET_ASYNC);
+ bool inflight = (r->p && r->p->state == USB_PACKET_ASYNC);
if (inflight) {
r->p->status = USB_RET_NODEV;
OpenPOWER on IntegriCloud