Darwin: Cache device configuration value
commite8d7a89503d5655c4b04da718c6971e25ff48162
authorNathan Hjelm <hjelmn@me.com>
Tue, 3 Aug 2010 03:27:38 +0000 (2 21:27 -0600)
committerDaniel Drake <dan@reactivated.net>
Tue, 3 Aug 2010 03:27:38 +0000 (2 21:27 -0600)
treea1205c3a60a317ebb5c91162e5c0847ba6b5af40
parentfe5d1d2050f715ffa8cbd35a378ac969a1a01584
Darwin: Cache device configuration value

Cache device configuration value to bring the Darwin backend more in
line with the libusb spec. To handle buggy devices GetConfiguration is
not called unless the device has more than one configuration.
libusb/os/darwin_usb.c
libusb/os/darwin_usb.h