We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d374f8 commit 6cafbf0Copy full SHA for 6cafbf0
components/drivers/usb/usbdevice/class/mstorage.c
@@ -78,9 +78,9 @@ static struct udevice_descriptor dev_desc =
78
USB_DESC_LENGTH_DEVICE, //bLength;
79
USB_DESC_TYPE_DEVICE, //type;
80
USB_BCD_VERSION, //bcdUSB;
81
- USB_CLASS_MASS_STORAGE, //bDeviceClass;
82
- 0x06, //bDeviceSubClass;
83
- 0x50, //bDeviceProtocol;
+ 0x00, //bDeviceClass;
+ 0x00, //bDeviceSubClass;
+ 0x00, //bDeviceProtocol;
84
0x40, //bMaxPacketSize0;
85
_VENDOR_ID, //idVendor;
86
_PRODUCT_ID, //idProduct;
@@ -98,9 +98,9 @@ static struct usb_qualifier_descriptor dev_qualifier =
98
sizeof(dev_qualifier), //bLength
99
USB_DESC_TYPE_DEVICEQUALIFIER, //bDescriptorType
100
0x0200, //bcdUSB
101
- USB_CLASS_MASS_STORAGE, //bDeviceClass
102
- 0x06, //bDeviceSubClass
103
- 0x50, //bDeviceProtocol
+ 0x00, //bDeviceClass
+ 0x00, //bDeviceSubClass
+ 0x00, //bDeviceProtocol
104
64, //bMaxPacketSize0
105
0x01, //bNumConfigurations
106
0,
0 commit comments