OSDN Git Service

usb-core: Don't set packet state to complete on a nak
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 Sep 2012 10:33:44 +0000 (12:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2012 05:42:58 +0000 (07:42 +0200)
commitcc40997489260f405aecccd30d4626ceee862502
tree8704189d4872cd33f15ae7abc7cbfbe0aace4e54
parent45b339b18c660eb85af2ba25bfcaed5469660d77
usb-core: Don't set packet state to complete on a nak

This way the hcd can re-use the same packet to retry without needing
to re-init it.

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