]> Git Repo - qemu.git/commit - hw/usb/hcd-uhci.c
uhci: Don't retry on error
authorHans de Goede <[email protected]>
Wed, 24 Oct 2012 16:31:07 +0000 (18:31 +0200)
committerGerd Hoffmann <[email protected]>
Thu, 25 Oct 2012 07:08:10 +0000 (09:08 +0200)
commita89e255b0cbe7c5b56348201e1c0f6d427c98fc8
tree4f64268e2336b482a15440676396b4d6557cbe0e
parent2f2ee2689ffe8a784a86bf10fb946772748632c7
uhci: Don't retry on error

Since we are either dealing with emulated devices, where retrying is
not going to help, or with redirected devices where the host OS will
have already retried, don't bother retrying on failed transfers.

Also move some common/indentical code out of all the error cases
into the generic error path.

Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/hcd-uhci.c
This page took 0.023226 seconds and 4 git commands to generate.