summaryrefslogtreecommitdiff
path: root/print/cups/files/patch-backend_usb-libusb.c
blob: 22bc56d78ccae48561a0dd225b356335565a7bb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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)