diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-10-24 18:14:10 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-10-25 09:08:10 +0200 |
commit | a6fb2ddb1417fcc2d24f3231c84035fcbd90123a (patch) | |
tree | 18911ea995d2d9a16f14c5631fc7431fbfa2144f /hw/usb/hcd-musb.c | |
parent | 6ba43f1f6b60159e731b1f37ffb53ab9ab59efa9 (diff) | |
download | qemu-a6fb2ddb1417fcc2d24f3231c84035fcbd90123a.zip qemu-a6fb2ddb1417fcc2d24f3231c84035fcbd90123a.tar.gz qemu-a6fb2ddb1417fcc2d24f3231c84035fcbd90123a.tar.bz2 |
usb: Add an int_req flag to USBPacket
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-musb.c')
-rw-r--r-- | hw/usb/hcd-musb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-musb.c b/hw/usb/hcd-musb.c index c4309a4..4f55390 100644 --- a/hw/usb/hcd-musb.c +++ b/hw/usb/hcd-musb.c @@ -627,7 +627,7 @@ static void musb_packet(MUSBState *s, MUSBEndPoint *ep, dev = usb_find_device(&s->port, ep->faddr[idx]); uep = usb_ep_get(dev, pid, ep->type[idx] & 0xf); usb_packet_setup(&ep->packey[dir].p, pid, uep, - (dev->addr << 16) | (uep->nr << 8) | pid, false); + (dev->addr << 16) | (uep->nr << 8) | pid, false, true); usb_packet_addbuf(&ep->packey[dir].p, ep->buf[idx], len); ep->packey[dir].ep = ep; ep->packey[dir].dir = dir; |