usb: async control xfer fixup
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Aug 2012 08:57:32 +0000 (10:57 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 16 Aug 2012 06:39:49 +0000 (08:39 +0200)
commitc19537a1143d493897850576394f082914f39ef1
tree29a3fff48cb7c86e1f6b474f9876d0c9062b16de
parent2b97f88c927be3ff3722497980048bc1cb7cc571
usb: async control xfer fixup

Need to clear p->result after copying setup data using usb_packet_copy()
because we'll reuse the USBPacket for the data transfer.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/core.c
hw/usb/host-linux.c