summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-06-22 09:43:08 +0200
committerDoug Goldstein <cardoe@cardoe.com>2012-08-12 18:28:57 -0500
commit88e5cfc874b46179cd2edfc8ae7197e455008088 (patch)
tree4ef538f178db7b7da50ed0e86d0c2e580f7ec483
parentReplace 'struct siginfo' with 'siginfo_t'. (diff)
downloadqemu-kvm-88e5cfc874b46179cd2edfc8ae7197e455008088.tar.gz
qemu-kvm-88e5cfc874b46179cd2edfc8ae7197e455008088.tar.bz2
qemu-kvm-88e5cfc874b46179cd2edfc8ae7197e455008088.zip
usb-redir: Correctly handle the usb_redir_babble usbredir status
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--hw/usb/redirect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 51c27b405..1fd903acc 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -1031,6 +1031,8 @@ static int usbredir_handle_status(USBRedirDevice *dev,
case usb_redir_inval:
WARNING("got invalid param error from usb-host?\n");
return USB_RET_NAK;
+ case usb_redir_babble:
+ return USB_RET_BABBLE;
case usb_redir_ioerror:
case usb_redir_timeout:
default: