commit | 0003e606175e344d463a9af73658cab5c01d6286 | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Wed May 20 16:23:11 2020 -0400 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Tue Jun 09 10:28:41 2020 -0700 |
tree | 300dcae1071eaba8974f69d7d8562febf65dbf52 | |
parent | 26611eaa494ed9e077b5b0e1f999f5ae377de958 [diff] |
darwin: Fix stale descriptor information post reset As part of the recent removal of the backend get_device_descriptor() function, the darwin backend was modified to update the cached device_descriptor when a new device is processed. However, this wasn't done for cases where the device is reused rather than allocated. This could potentially result in getting stale data when using the device following a reset. In addition, when the device is reused, its session ID should be kept up-to-date in the cached devices list, so it could be found in subsequent resets. Closes #733 Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)