diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 809d465eb25726dfd0806869f99f4725f8089c43..16353b661a04e864f40896e0b5919d2be572625b 100644 --- a/drivers/usb/class/usblp.c +++ b/drivers/usb/class/usblp.c @@ -722,6 +722,7 @@ static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t usblp->wcomplete = 0; err = usb_submit_urb(usblp->writeurb, GFP_KERNEL); if (err) { + usblp->wcomplete = 1; if (err != -ENOMEM) count = -EIO; else