usb-redir: Correctly handle the usb_redir_babble usbredir status
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit adae502c0a
)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
This commit is contained in:
parent
a1a17b1d5a
commit
b00201d402
|
@ -1031,6 +1031,8 @@ static int usbredir_handle_status(USBRedirDevice *dev,
|
||||||
case usb_redir_inval:
|
case usb_redir_inval:
|
||||||
WARNING("got invalid param error from usb-host?\n");
|
WARNING("got invalid param error from usb-host?\n");
|
||||||
return USB_RET_NAK;
|
return USB_RET_NAK;
|
||||||
|
case usb_redir_babble:
|
||||||
|
return USB_RET_BABBLE;
|
||||||
case usb_redir_ioerror:
|
case usb_redir_ioerror:
|
||||||
case usb_redir_timeout:
|
case usb_redir_timeout:
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue