Blame 0201-usb-redir-Correctly-handle-the-usb_redir_babble-usbr.patch
|
Hans de Goede |
329b58 |
From 1271c4b3437a8bcf9b35ae8ed03be3dc758fe756 Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
329b58 |
From: Hans de Goede <hdegoede@redhat.com>
|
|
Hans de Goede |
329b58 |
Date: Fri, 22 Jun 2012 09:43:08 +0200
|
|
Hans de Goede |
329b58 |
Subject: [PATCH] usb-redir: Correctly handle the usb_redir_babble usbredir
|
|
Hans de Goede |
329b58 |
status
|
|
Hans de Goede |
329b58 |
|
|
Hans de Goede |
329b58 |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
Hans de Goede |
329b58 |
---
|
|
Hans de Goede |
329b58 |
hw/usb/redirect.c | 2 ++
|
|
Hans de Goede |
329b58 |
1 file changed, 2 insertions(+)
|
|
Hans de Goede |
329b58 |
|
|
Hans de Goede |
329b58 |
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
|
|
Hans de Goede |
329b58 |
index 5f55d78..c6358c0 100644
|
|
Hans de Goede |
329b58 |
--- a/hw/usb/redirect.c
|
|
Hans de Goede |
329b58 |
+++ b/hw/usb/redirect.c
|
|
Hans de Goede |
329b58 |
@@ -1058,6 +1058,8 @@ static int usbredir_handle_status(USBRedirDevice *dev,
|
|
Hans de Goede |
329b58 |
case usb_redir_inval:
|
|
Hans de Goede |
329b58 |
WARNING("got invalid param error from usb-host?\n");
|
|
Hans de Goede |
329b58 |
return USB_RET_NAK;
|
|
Hans de Goede |
329b58 |
+ case usb_redir_babble:
|
|
Hans de Goede |
329b58 |
+ return USB_RET_BABBLE;
|
|
Hans de Goede |
329b58 |
case usb_redir_ioerror:
|
|
Hans de Goede |
329b58 |
case usb_redir_timeout:
|
|
Hans de Goede |
329b58 |
default:
|
|
Hans de Goede |
329b58 |
--
|
|
Hans de Goede |
329b58 |
1.7.10.4
|
|
Hans de Goede |
329b58 |
|