diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-09-03 13:44:04 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-11 07:43:00 +0200 |
commit | 6c67446a427b50a706e628f810116353f5d128cf (patch) | |
tree | a7b7a0718c4eb2fcd1161ab530e3a31e815bb44e | |
parent | a508cc42e22a2ac3878b964290780f1d81ec65c1 (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.c | 3 |
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; + } } } |