diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-19 13:07:54 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-26 12:21:15 +0200 |
| commit | 0cc6a0f19e3de830eaa898ad31c0bc607470b8cb (patch) | |
| tree | 2147ee2b9ae5b28f0a9ca541f21f333b80b26b11 /hw/usb/hcd-ehci.c | |
| parent | e59a8cf1eb2196cdaded214ccd1b819c8faad238 (diff) | |
| download | focaccia-qemu-0cc6a0f19e3de830eaa898ad31c0bc607470b8cb.tar.gz focaccia-qemu-0cc6a0f19e3de830eaa898ad31c0bc607470b8cb.zip | |
usb-ehci: add missing usb_packet_init() call
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci.c')
| -rw-r--r-- | hw/usb/hcd-ehci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 10a5b15890..c6f21ac7b6 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -664,6 +664,7 @@ static EHCIQueue *ehci_alloc_queue(EHCIState *ehci, int async) q = g_malloc0(sizeof(*q)); q->ehci = ehci; + usb_packet_init(&q->packet); QTAILQ_INSERT_HEAD(head, q, next); trace_usb_ehci_queue_action(q, "alloc"); return q; |