diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-11-19 14:36:56 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-11-26 09:21:17 +0100 |
commit | 04b300f85fafd2d6a92ec0a766f0035e9bc5835c (patch) | |
tree | 91eb8d9a07f7cd39801dc786fa7543c1c829cba1 /hw/usb/desc.c | |
parent | 5007c940a9c96ad974573915192424ba00b49932 (diff) |
usb: Add max_streams attribute to endpoint info
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/desc.c')
-rw-r--r-- | hw/usb/desc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/desc.c b/hw/usb/desc.c index bf6c522682..5dbe7545f5 100644 --- a/hw/usb/desc.c +++ b/hw/usb/desc.c @@ -385,6 +385,8 @@ static void usb_desc_ep_init(USBDevice *dev) usb_ep_set_ifnum(dev, pid, ep, iface->bInterfaceNumber); usb_ep_set_max_packet_size(dev, pid, ep, iface->eps[e].wMaxPacketSize); + usb_ep_set_max_streams(dev, pid, ep, + iface->eps[e].bmAttributes_super); } } } |