forked from Lainports/opnsense-ports
11 lines
362 B
C
11 lines
362 B
C
--- backend/usb-libusb.c.orig 2015-09-15 21:20:02 UTC
|
|
+++ backend/usb-libusb.c
|
|
@@ -1441,7 +1441,7 @@ open_device(usb_printer_t *printer, /* I
|
|
* works without the module attached.
|
|
*/
|
|
|
|
- errcode = libusb_kernel_driver_active(printer->handle, printer->iface);
|
|
+ errcode = 0;
|
|
if (errcode == 0)
|
|
printer->usblp_attached = 0;
|
|
else if (errcode == 1)
|