Add rudimentary handling of alternate settings of USB interfaces - to fix

problems with some USB storage devices. Some code readability improvements.
This commit is contained in:
Bartlomiej Sieka 2006-08-02 00:54:18 +02:00
parent f3e06df7e8
commit 7455af41d1
4 changed files with 58 additions and 33 deletions

View file

@ -108,6 +108,7 @@ struct usb_interface_descriptor {
unsigned char iInterface;
unsigned char no_of_ep;
unsigned char num_altsetting;
unsigned char act_altsetting;
struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS];
} __attribute__ ((packed));