darwin: work around devices with buggy endpoint descriptors
authorNathan Hjelm <hjelmn@me.com>
Thu, 8 Sep 2016 00:47:25 +0000 (18:47 -0600)
committerNathan Hjelm <hjelmn@me.com>
Thu, 8 Sep 2016 00:47:25 +0000 (18:47 -0600)
commitaa1d76cd13ae8f8fac696ab2c3204d3f39c77c4c
tree9f7b2189854652e227fc20d53f50ab4827eb699b
parente5b09f34553df82ebced2c2dce91a50980c2786a
darwin: work around devices with buggy endpoint descriptors

This commit adds a workaround for devices that have buggy endpoint
descriptors but are otherwise functional. These devices will have
endpoints that fail the GetPipeProperties call. Since we only care
about the endpoint address we can read it from the descriptor
itself.

Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb/os/darwin_usb.c
libusb/version_nano.h