From: Hans de Goede Date: Fri, 6 Jul 2012 10:09:32 +0000 (+0200) Subject: usb-redir: Correctly handle the usb_redir_babble usbredir status X-Git-Tag: v1.2.0-rc0~190^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=adae502c0ae4572ef08f71cb5b5ed5a8e90299fe;p=thirdparty%2Fqemu.git usb-redir: Correctly handle the usb_redir_babble usbredir status Signed-off-by: Hans de Goede Signed-off-by: Gerd Hoffmann --- diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index d949f040d5a..10b4fbb3a7b 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -1033,6 +1033,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: