diff options
| author | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-22 12:53:18 -0500 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-08-22 12:53:18 -0500 |
| commit | b6825cd79cdf3e2006c22bb8cfe47a0d7c5209fa (patch) | |
| tree | b020d9ce52ea7bc722797d25936dc2147c231a03 /hw/usb/core.c | |
| parent | 99afc91d6ccdbe45258cff66fd0ce0142820c366 (diff) | |
| parent | 47d073cc3b8ad4a3ef1dba7055b35a87fa4091ff (diff) | |
| download | focaccia-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/core.c')
| -rw-r--r-- | hw/usb/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/core.c b/hw/usb/core.c index 01a7622837..c7e5bc047f 100644 --- a/hw/usb/core.c +++ b/hw/usb/core.c @@ -107,6 +107,7 @@ static int do_token_setup(USBDevice *s, USBPacket *p) } usb_packet_copy(p, s->setup_buf, p->iov.size); + p->result = 0; s->setup_len = (s->setup_buf[7] << 8) | s->setup_buf[6]; s->setup_index = 0; |