bMaxPacketSize0 on SuperSpeed devices should be 9 (2 ^ 9 == 512) Signed-off-by: Felipe Balbi <balbi@xxxxxx> --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index a428aa0..6964a28 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2930,7 +2930,7 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, buf, GET_DESCRIPTOR_BUFSIZE, initial_descriptor_timeout); switch (buf->bMaxPacketSize0) { - case 8: case 16: case 32: case 64: case 255: + case 8: case 9: case 16: case 32: case 64: case 255: if (buf->bDescriptorType == USB_DT_DEVICE) { r = 0; -- balbi
Attachment:
signature.asc
Description: Digital signature