diff options
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
-rw-r--r-- | drivers/usb/misc/usbtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index 0b5c3b157530..bff058ea222e 100644 --- a/drivers/usb/misc/usbtest.c +++ b/drivers/usb/misc/usbtest.c | |||
@@ -763,7 +763,7 @@ static int ch9_postconfig(struct usbtest_dev *dev) | |||
763 | * there's always [9.4.3] a bos device descriptor [9.6.2] in USB | 763 | * there's always [9.4.3] a bos device descriptor [9.6.2] in USB |
764 | * 3.0 spec | 764 | * 3.0 spec |
765 | */ | 765 | */ |
766 | if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0300) { | 766 | if (le16_to_cpu(udev->descriptor.bcdUSB) >= 0x0210) { |
767 | struct usb_bos_descriptor *bos = NULL; | 767 | struct usb_bos_descriptor *bos = NULL; |
768 | struct usb_dev_cap_header *header = NULL; | 768 | struct usb_dev_cap_header *header = NULL; |
769 | unsigned total, num, length; | 769 | unsigned total, num, length; |