ehci: Don't access packet after freeing it
commit30d68cf6e156b97fc462e18f38ce83f44702cd7f
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 Nov 2012 16:21:36 +0000 (14 17:21 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 16 Nov 2012 10:27:32 +0000 (16 11:27 +0100)
tree2159a29f026a3660d972d1bdf8a63acfd18ca668
parent537e8f1aa838677c8efd5e0966e89c4b5423dd18
ehci: Don't access packet after freeing it

ehci_state_writeback() will free the packet, so we should not access
the packet after calling ehci_state_writeback().

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