|
@@ -1655,7 +1655,7 @@ unknown:
|
|
|
* OS descriptors handling
|
|
|
*/
|
|
|
if (cdev->use_os_string && cdev->os_desc_config &&
|
|
|
- (ctrl->bRequest & USB_TYPE_VENDOR) &&
|
|
|
+ (ctrl->bRequestType & USB_TYPE_VENDOR) &&
|
|
|
ctrl->bRequest == cdev->b_vendor_code) {
|
|
|
struct usb_request *req;
|
|
|
struct usb_configuration *os_desc_cfg;
|