Fix size of USB 3.0 descriptor field.

MFC after:	3 days
This commit is contained in:
hselasky 2011-11-09 18:11:29 +00:00
parent 0070160cea
commit 7001293a24
2 changed files with 3 additions and 2 deletions

View File

@ -2841,7 +2841,8 @@ struct xhci_bos_desc xhci_bosd = {
HSETW(.wSpeedsSupported, 0x000C),
.bFunctionalitySupport = 8,
.bU1DevExitLat = 255, /* dummy - not used */
.bU2DevExitLat = 255, /* dummy - not used */
.wU2DevExitLat[0] = 0x00,
.wU2DevExitLat[1] = 0x08,
},
.cidd = {
.bLength = sizeof(xhci_bosd.cidd),

View File

@ -336,7 +336,7 @@ struct usb_devcap_ss_descriptor {
uWord wSpeedsSupported;
uByte bFunctionalitySupport;
uByte bU1DevExitLat;
uByte bU2DevExitLat;
uWord wU2DevExitLat;
} __packed;
typedef struct usb_devcap_ss_descriptor usb_devcap_ss_descriptor_t;