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.1.2~62 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b00201d402e9927427a4494510c9d0a4b2f620c7;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 (cherry picked from commit adae502c0ae4572ef08f71cb5b5ed5a8e90299fe) Signed-off-by: Michael Roth --- diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index 51c27b40517..1fd903acce5 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: