aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-09-03 13:44:04 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-11 07:43:00 +0200
commit6c67446a427b50a706e628f810116353f5d128cf (patch)
treea7b7a0718c4eb2fcd1161ab530e3a31e815bb44e
parenta508cc42e22a2ac3878b964290780f1d81ec65c1 (diff)
usb-redir: Enable pipelining for bulk endpoints
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--hw/usb/redirect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
index 7fb0fb3de8..5301a69c4f 100644
--- a/hw/usb/redirect.c
+++ b/hw/usb/redirect.c
@@ -1197,6 +1197,9 @@ static void usbredir_ep_info(void *priv,
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;
+ }
}
}