USB: missing rcomplete=0 in printer.c (David Woodhouse)
From: Pete Zaitcev
Date: Tue Jul 27 2004 - 13:22:01 EST
Synopsys: CUPS refuses to work with HP 1200, kernel produces silly messages.
I do not remember if David Woodhouse actually wrote it, but he certainly
reported the problem.
-- Pete
--- linux-2.4.27-rc3/drivers/usb/printer.c 2004-07-25 23:00:17.000000000 -0700
+++ linux-2.4.27-rc3-usbx/drivers/usb/printer.c 2004-07-27 10:28:53.000000000 -0700
@@ -747,6 +757,7 @@ static ssize_t usblp_read(struct file *f
usblp->minor, usblp->readurb->status);
usblp->readurb->dev = usblp->dev;
usblp->readcount = 0;
+ usblp->rcomplete = 0;
if (usb_submit_urb(usblp->readurb) < 0)
dbg("error submitting urb");
count = -EIO;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/