summary refs log tree commit diff stats
path: root/hw/usb/host-linux.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-08-22 12:53:18 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-08-22 12:53:18 -0500
commitb6825cd79cdf3e2006c22bb8cfe47a0d7c5209fa (patch)
treeb020d9ce52ea7bc722797d25936dc2147c231a03 /hw/usb/host-linux.c
parent99afc91d6ccdbe45258cff66fd0ce0142820c366 (diff)
parent47d073cc3b8ad4a3ef1dba7055b35a87fa4091ff (diff)
downloadfocaccia-qemu-b6825cd79cdf3e2006c22bb8cfe47a0d7c5209fa.tar.gz
focaccia-qemu-b6825cd79cdf3e2006c22bb8cfe47a0d7c5209fa.zip
Merge remote-tracking branch 'kraxel/usb.59' into staging
* kraxel/usb.59:
  ehci: Fix setting of halt bit from usbcmd register updates
  ehci: fix Interrupt Threshold Control implementation
  usb: update uas product id
  usb: async control xfer fixup
Diffstat (limited to 'hw/usb/host-linux.c')
-rw-r--r--hw/usb/host-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/host-linux.c b/hw/usb/host-linux.c
index d55be878ad..8df92074d3 100644
--- a/hw/usb/host-linux.c
+++ b/hw/usb/host-linux.c
@@ -1045,6 +1045,7 @@ static int usb_host_handle_control(USBDevice *dev, USBPacket *p,
 
     /* Note request is (bRequestType << 8) | bRequest */
     trace_usb_host_req_control(s->bus_num, s->addr, p, request, value, index);
+    assert(p->result == 0);
 
     switch (request) {
     case DeviceOutRequest | USB_REQ_SET_ADDRESS: