linux_usbfs: Fix exit crash on Android
authorMark Kuo <starryalley@gmail.com>
Sun, 10 Jan 2021 05:58:26 +0000 (16:58 +1100)
committerChris Dickens <christopher.a.dickens@gmail.com>
Fri, 15 Jan 2021 16:07:56 +0000 (08:07 -0800)
commite78cafbaa2692f5b6e8e8f0ff306f5826c5dd94d
tree47e5573c4c9eaff31cc8a5647a82b16248972ce1
parent62c059417559146a342beafabf3ff654a407e598
linux_usbfs: Fix exit crash on Android

In commit "89b810ec Android: Add option LIBUSB_OPTION_WEAK_AUTHORITY
to support used in apk", we should also check weak_authority when
exiting the backend.

[dickens] Fixed whitespace

Closes #842

Signed-off-by: Mark Kuo <starryalley@gmail.com>
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/linux_usbfs.c
libusb/version_nano.h