Do not restrict "weak authority" option to Android
authorTormod Volden <debian.tormod@gmail.com>
Mon, 7 Jun 2021 16:19:41 +0000 (18:19 +0200)
committerNathan Hjelm <hjelmn@google.com>
Fri, 11 Jun 2021 15:43:04 +0000 (09:43 -0600)
commit5360a17ce7a596b0fb976a1be6a2b51753e87824
tree8ccf109b5431e463c5bdbd67dce1899a7579221f
parent87a8578b9391a4c1a3ed8824d49f6c91cdaea4f2
Do not restrict "weak authority" option to Android

libusb_wrap_sys_device() is an often needed feature on Android, but can
also be very convenient on other Linux platforms.

In many cases the initial device scanning is not needed and
LIBUSB_OPTION_WEAK_AUTHORITY thus provides a performance enhancement.

Closes #925

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/libusb.h
libusb/os/linux_usbfs.c
libusb/version_nano.h