aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ulpt.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-10-12 11:05:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-10-12 11:05:58 +0000
commit602150cc7078956afc50897363a00fb963ace5b9 (patch)
treec2054d73224fc505369bdbb76f3c511bbfb5448a /sys/dev/usb/ulpt.c
parentff7926e9492f75ec6df14da0cb1ac8be7fbf0120 (diff)
downloadsrc-602150cc7078956afc50897363a00fb963ace5b9.tar.gz
src-602150cc7078956afc50897363a00fb963ace5b9.zip
Set ulptusein = 0 so that the machine doesn't hang solid after a
printjob. There is probably a better fix, but this at least makes USB printing working again.
Notes
Notes: svn path=/head/; revision=84838
Diffstat (limited to 'sys/dev/usb/ulpt.c')
-rw-r--r--sys/dev/usb/ulpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index 052583bc0194..8e66da7e9176 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -461,7 +461,7 @@ ulpt_input(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status)
usbd_transfer(sc->sc_in_xfer1);
}
-int ulptusein = 1;
+int ulptusein = 0;
/*
* Reset the printer, then wait until it's selected and not busy.