tools: ffs-aio-example: add missing wMaxPacketSize for HS descs
[sfrench/cifs-2.6.git] / tools / usb / ffs-aio-example / simple / device_app / aio_simple.c
index adc310a6d48991072ae0081318ac3d60a00a480d..1f44a29818bf02991cfe264e5b13796d8219067e 100644 (file)
@@ -103,12 +103,14 @@ static const struct {
                        .bDescriptorType = USB_DT_ENDPOINT,
                        .bEndpointAddress = 1 | USB_DIR_IN,
                        .bmAttributes = USB_ENDPOINT_XFER_BULK,
+                       .wMaxPacketSize = htole16(512),
                },
                .bulk_source = {
                        .bLength = sizeof(descriptors.hs_descs.bulk_source),
                        .bDescriptorType = USB_DT_ENDPOINT,
                        .bEndpointAddress = 2 | USB_DIR_OUT,
                        .bmAttributes = USB_ENDPOINT_XFER_BULK,
+                       .wMaxPacketSize = htole16(512),
                },
        },
 };