usb-redir: Enable pipelining for bulk endpoints
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 Sep 2012 11:44:04 +0000 (13:44 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2012 05:43:00 +0000 (07:43 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/redirect.c

index 7fb0fb3..5301a69 100644 (file)
@@ -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;
+        }
     }
 }