summaryrefslogtreecommitdiffstats
path: root/hw/usb/hcd-ehci.c
diff options
context:
space:
mode:
authorGerd Hoffmann2017-02-16 14:13:37 +0100
committerGerd Hoffmann2017-02-21 08:11:43 +0100
commit0aeebc73b7976bae5cb7e9768e3d9a0fd9d634e8 (patch)
tree63ff4167640e74086ee256bb2008edfac96beb73 /hw/usb/hcd-ehci.c
parentxhci: drop via vendor command handling (diff)
downloadqemu-0aeebc73b7976bae5cb7e9768e3d9a0fd9d634e8.tar.gz
qemu-0aeebc73b7976bae5cb7e9768e3d9a0fd9d634e8.tar.xz
qemu-0aeebc73b7976bae5cb7e9768e3d9a0fd9d634e8.zip
usb-ccid: better bulk_out error handling
Add err goto label where we can jump to from all error conditions. STALL request on all errors. Reset position on all errors. Normal request processing is not in a else branch any more, so this code is reintended, there are no code changes in that part of the code though. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 1487250819-23764-2-git-send-email-kraxel@redhat.com
Diffstat (limited to 'hw/usb/hcd-ehci.c')
0 files changed, 0 insertions, 0 deletions