carl9170 firmware: command endpoint is bulk in full-speed mode
authorChristian Lamparter <chunkeey@googlemail.com>
Thu, 7 Aug 2014 09:56:25 +0000 (11:56 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 7 Aug 2014 18:02:46 +0000 (20:02 +0200)
Roland Wahl discovered that endpoint 4 needs to be an bulk
endpoint in the full-speed configuration.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/usb/usb.c

index d7bc4329ba8bad27bbac17bc2202d2c999abc49e..e1fb27ef4dce51d132d756e51fdec26c8de03779 100644 (file)
@@ -159,7 +159,7 @@ static struct ar9170_usb_config usb_config_fullspeed = {
                        .bLength = USB_DT_ENDPOINT_SIZE,
                        .bDescriptorType = USB_DT_ENDPOINT,
                        .bEndpointAddress = USB_DIR_OUT | AR9170_USB_EP_CMD,
-                       .bmAttributes = USB_ENDPOINT_XFER_INT,
+                       .bmAttributes = USB_ENDPOINT_XFER_BULK,
                        .wMaxPacketSize = cpu_to_le16(64),
                        .bInterval = 1,
                },