irp->type = USB_CTRL;
buf[0]=(char)requesttype;
- buf[1]=(char)request;
- buf[2]=(char)(value >> 8);
- buf[3]=(char)(value);
- buf[4]=(char)(index >> 8);
- buf[5]=(char)(index);
- // lenght buf are the only where the order is inverted
+ buf[1]=(char)request;
+ buf[2]=(char)(value);
+ buf[3]=(char)(value >> 8);
+ buf[4]=(char)(index);
+ buf[5]=(char)(index >> 8);
buf[6]=(char)(length);
buf[7]=(char)(length >> 8);