2012-12-16 23:27:22 +00:00
|
|
|
From 9658745685663e7fbae0e6956cbb95be835076f3 Mon Sep 17 00:00:00 2001
|
2012-09-07 15:20:05 +00:00
|
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
Date: Mon, 3 Sep 2012 13:44:04 +0200
|
2012-10-28 18:05:07 +00:00
|
|
|
Subject: [PATCH] usb-redir: Enable pipelining for bulk endpoints
|
2012-09-07 15:20:05 +00:00
|
|
|
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
---
|
|
|
|
hw/usb/redirect.c | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
|
2012-10-28 18:05:07 +00:00
|
|
|
index f1bb692..f183263 100644
|
2012-09-07 15:20:05 +00:00
|
|
|
--- a/hw/usb/redirect.c
|
|
|
|
+++ b/hw/usb/redirect.c
|
2012-10-28 18:05:07 +00:00
|
|
|
@@ -1219,6 +1219,9 @@ static void usbredir_ep_info(void *priv,
|
2012-09-07 15:20:05 +00:00
|
|
|
usb_redir_cap_ep_info_max_packet_size)) {
|
|
|
|
usb_ep->max_packet_size = ep_info->max_packet_size[i];
|
|
|
|
}
|
|
|
|
+ if (ep_info->type[i] == usb_redir_type_bulk) {
|
|
|
|
+ usb_ep->pipeline = true;
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2012-12-16 23:27:22 +00:00
|
|
|
1.8.0.2
|
2012-09-07 15:20:05 +00:00
|
|
|
|