summaryrefslogtreecommitdiff
path: root/print/hplip3/files/patch-io-hpmud-musb.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip3/files/patch-io-hpmud-musb.c')
-rw-r--r--print/hplip3/files/patch-io-hpmud-musb.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/print/hplip3/files/patch-io-hpmud-musb.c b/print/hplip3/files/patch-io-hpmud-musb.c
deleted file mode 100644
index 8d87a88df271..000000000000
--- a/print/hplip3/files/patch-io-hpmud-musb.c
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: io/hpmud/musb.c
-@@ -122,10 +122,16 @@
- {
- ret = usb_control_msg(dev, USB_ENDPOINT_IN, USB_REQ_GET_DESCRIPTOR, (USB_DT_STRING << 8) + index,
- 0x409, tbuf, sizeof(tbuf), LIBUSB_CONTROL_REQ_TIMEOUT);
-- if (ret==0)
-+ if (ret==0
-+#ifdef __FreeBSD__
-+ || ret == -EIO
-+#endif
-+ )
- {
-- /* This retry is necessary for lj1000 and lj1005. des 12/12/07 */
-- BUG("get_string_descriptor zero result, retrying...");
-+ /* This retry is necessary for lj1000 and lj1005. des 12/12/07
-+ Also HP Photosmart 42xx seems to suffer transient errors with serial id */
-+ BUG("get_string_descriptor error result %d, retrying in 2 secs...", ret);
-+ sleep(2);
- continue;
- }
- break;