usb-ehci: Fix an assert whenever isoc transfers are used
authorHans de Goede <hdegoede@redhat.com>
Fri, 6 Jul 2012 10:09:33 +0000 (12:09 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Jul 2012 09:59:54 +0000 (11:59 +0200)
commit7341ea075c09258b98a1d0efc60efd402cbfc9b4
tree2caf84623d9f0d15867ef41a59877c330ed5593e
parent9bc3a3a216e2689bfcdd36c3e079333bbdbf3ba0
usb-ehci: Fix an assert whenever isoc transfers are used

hcd-ehci.c is missing an usb_packet_init() call for the ipacket UsbPacket
it uses for isoc transfers, triggering an assert (taking the entire vm down)
in usb_packet_setup as soon as any isoc transfers are done by a high speed
USB device.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c