Blame 0328-usb-redir-Enable-pipelining-for-bulk-endpoints.patch

c8dfc6
From 30b6793253b39f347e1f74791118403451b9886c Mon Sep 17 00:00:00 2001
c8dfc6
From: Hans de Goede <hdegoede@redhat.com>
c8dfc6
Date: Mon, 3 Sep 2012 13:44:04 +0200
c8dfc6
Subject: [PATCH 328/366] usb-redir: Enable pipelining for bulk endpoints
c8dfc6
c8dfc6
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
c8dfc6
---
c8dfc6
 hw/usb/redirect.c | 3 +++
c8dfc6
 1 file changed, 3 insertions(+)
c8dfc6
c8dfc6
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
c8dfc6
index 5b0f834..9cbcddb 100644
c8dfc6
--- a/hw/usb/redirect.c
c8dfc6
+++ b/hw/usb/redirect.c
c8dfc6
@@ -1224,6 +1224,9 @@ static void usbredir_ep_info(void *priv,
c8dfc6
                                      usb_redir_cap_ep_info_max_packet_size)) {
c8dfc6
             usb_ep->max_packet_size = ep_info->max_packet_size[i];
c8dfc6
         }
c8dfc6
+        if (ep_info->type[i] == usb_redir_type_bulk) {
c8dfc6
+            usb_ep->pipeline = true;
c8dfc6
+        }
c8dfc6
     }
c8dfc6
 }
c8dfc6
 
c8dfc6
-- 
c8dfc6
1.7.12
c8dfc6