New NO_DEVICE_DISCOVERY option to replace WEAK_AUTHORITY option
authorTormod Volden <debian.tormod@gmail.com>
Tue, 15 Jun 2021 20:33:45 +0000 (22:33 +0200)
committerNathan Hjelm <hjelmn@google.com>
Fri, 9 Jul 2021 03:53:46 +0000 (21:53 -0600)
commit5c89594f64ed5a14470d9965e558fd9aee1fd42c
tree1aa4b2243d13042dde55b26b28a0c751264d9b09
parenta03058723a03080456814d5212c3caceacc58ae9
New NO_DEVICE_DISCOVERY option to replace WEAK_AUTHORITY option

The option disables device enumeration (and hotplug, which depends on
enumeration). Since this has a much broader usage scope than "weak
authority", give the option a name reflecting what it does.

For now, keep the old option name working as an alias.

Closes #935

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