Skip to content

Commit

Permalink
Added support for USB_INTERFACE_DESCRIPTOR_TYPE. Addresses issue on W…
Browse files Browse the repository at this point in the history
…indows 8 where device reports it cannot start (Code 10) and shows a yellow exclamation mark. Fix courtesy of Tim Edmonds.
  • Loading branch information
cpeacock committed Apr 6, 2012
1 parent 989e8f9 commit cb7f1d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions driver/busenum.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ int prepare_get_dev_descriptor_urb( struct _URB_CONTROL_DESCRIPTOR_REQUEST * req
case USB_CONFIGURATION_DESCRIPTOR_TYPE:
setup->wIndex = 0;
break;
case USB_INTERFACE_DESCRIPTOR_TYPE:
setup->wIndex = req->Index;
break;
case USB_STRING_DESCRIPTOR_TYPE:
setup->wIndex = req->LanguageId;
break;
Expand Down

0 comments on commit cb7f1d6

Please sign in to comment.