mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -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
|
@ -501,6 +501,7 @@ void usb_packet_set_state(USBPacket *p, USBPacketState state)
|
|||
void usb_packet_setup(USBPacket *p, int pid, USBEndpoint *ep)
|
||||
{
|
||||
assert(!usb_packet_is_inflight(p));
|
||||
assert(p->iov.iov != NULL);
|
||||
p->pid = pid;
|
||||
p->ep = ep;
|
||||
p->result = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue