Blame SOURCES/cups-usb-timeout.patch
|
|
63e5ea |
diff -up cups-1.7.0/backend/usb-libusb.c.usb-timeout cups-1.7.0/backend/usb-libusb.c
|
|
|
63e5ea |
--- cups-1.7.0/backend/usb-libusb.c.usb-timeout 2013-07-17 16:51:43.000000000 +0100
|
|
|
63e5ea |
+++ cups-1.7.0/backend/usb-libusb.c 2013-11-28 16:44:03.785124015 +0000
|
|
|
63e5ea |
@@ -496,7 +496,7 @@ print_device(const char *uri, /* I - De
|
|
|
63e5ea |
iostatus = libusb_bulk_transfer(g.printer->handle,
|
|
|
63e5ea |
g.printer->write_endp,
|
|
|
63e5ea |
print_buffer, g.print_bytes,
|
|
|
63e5ea |
- &bytes, 60000);
|
|
|
63e5ea |
+ &bytes, 0);
|
|
|
63e5ea |
/*
|
|
|
63e5ea |
* Ignore timeout errors, but retain the number of bytes written to
|
|
|
63e5ea |
* avoid sending duplicate data...
|
|
|
63e5ea |
@@ -519,7 +519,7 @@ print_device(const char *uri, /* I - De
|
|
|
63e5ea |
iostatus = libusb_bulk_transfer(g.printer->handle,
|
|
|
63e5ea |
g.printer->write_endp,
|
|
|
63e5ea |
print_buffer, g.print_bytes,
|
|
|
63e5ea |
- &bytes, 60000);
|
|
|
63e5ea |
+ &bytes, 0);
|
|
|
63e5ea |
}
|
|
|
63e5ea |
|
|
|
63e5ea |
/*
|
|
|
63e5ea |
@@ -534,7 +534,7 @@ print_device(const char *uri, /* I - De
|
|
|
63e5ea |
iostatus = libusb_bulk_transfer(g.printer->handle,
|
|
|
63e5ea |
g.printer->write_endp,
|
|
|
63e5ea |
print_buffer, g.print_bytes,
|
|
|
63e5ea |
- &bytes, 60000);
|
|
|
63e5ea |
+ &bytes, 0);
|
|
|
63e5ea |
}
|
|
|
63e5ea |
|
|
|
63e5ea |
if (iostatus)
|