9
0
Fork 0

USB: fixup usb_hub_descriptor length name

All other descriptors have their length field named bLength, except
imported usb_hub_descriptor from Linux uses bDescLength. Adjust the
name to match the others.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sebastian Hesselbarth 2014-07-23 15:51:44 +02:00 committed by Sascha Hauer
parent 73476de0e0
commit f4e7910195
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ struct usb_hub_status {
#define USB_HUB_PR_SS 3 /* Super speed hub */
struct usb_hub_descriptor {
__u8 bDescLength;
__u8 bLength;
__u8 bDescriptorType;
__u8 bNbrPorts;
__le16 wHubCharacteristics;