Ticket #77 (new defect)
get_max_packet_size returns bad value when alternative interface is used
|Reported by:||eddie.cohen||Owned by:|
libusb_get_max_packet_size() and libusb_get_max_iso_packet_size() does not consider current alternative interface.
I have a device which has endpoint 0x81 in both default interface and alternative interface.
When alternative interface is in use, and a call to libusb_get_max_packet_size() takes place, find_endpoint() function stops as soon as it finds the endpoint in the first interface.