We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab2141 commit 92b4c0dCopy full SHA for 92b4c0d
android/libbladerf/src/libusb.c
@@ -141,6 +141,13 @@
141
struct libusb_device_descriptor desc;
142
libusb_context *context;
143
144
+ status = libusb_set_option(NULL, LIBUSB_OPTION_WEAK_AUTHORITY, NULL);
145
+ if (status){
146
+ log_error("Could not initialize libusb: %s\n",
147
+ libusb_error_name(status));
148
+ return error_conv(status);
149
+ }
150
+
151
status = libusb_init(&context);
152
if (status) {
153
log_error("Could not initialize libusb: %s\n",
0 commit comments