diff options
author | Pete Batard <pbatard@gmail.com> | 2010-08-10 19:45:04 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-08-10 19:46:59 +0100 |
commit | 689d78a0631b3ce2e341a947df0151f58e5ff21e (patch) | |
tree | 31dc9f6b0f7760f03918226fe9a62a806fa16800 /libusb/os/windows_usb.h | |
parent | d059be54ca3b0d7d0e2c334ce2f9519d5e9fda59 (diff) | |
download | libusb-689d78a0631b3ce2e341a947df0151f58e5ff21e.tar.gz |
remove unneeded sanity check in cache_config_descriptorspbr294
* issue reported by Benjamin Dobell (with additional input from Tim Roberts)
* unlike interface numbers, bConfigurationValue are not required to be in order
* also produces actual bConfigurationValue in debug output
* small whitespace fix in windows_usb.h
Diffstat (limited to 'libusb/os/windows_usb.h')
-rw-r--r-- | libusb/os/windows_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/windows_usb.h b/libusb/os/windows_usb.h index b2e9bd6..2353488 100644 --- a/libusb/os/windows_usb.h +++ b/libusb/os/windows_usb.h @@ -468,7 +468,7 @@ typedef struct _USB_INTERFACE_DESCRIPTOR { typedef struct _USB_CONFIGURATION_DESCRIPTOR { UCHAR bLength; UCHAR bDescriptorType; - USHORT wTotalLength; + USHORT wTotalLength; UCHAR bNumInterfaces; UCHAR bConfigurationValue; UCHAR iConfiguration; |