mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
usb-ehci: add missing usb_packet_init() call
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
e59a8cf1eb
commit
0cc6a0f19e
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue