summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-02-26 01:32:49 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-02-26 01:32:49 +0000
commit8ce57844505b1760b6e515234cc1b62a78e240b9 (patch)
tree16b9f17bbd37da455643667d18c417ab847bcf18 /sys/dev/usb
parenta964f068287cfd8fc057c92369a526fef9ff7f2b (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ulpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index f03042ad6190..4aafd6db9e68 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -446,6 +446,7 @@ ulpt_reset(struct ulpt_softc *sc)
* UT_WRITE_CLASS_INTERFACE. Many printers use the old one,
* so we try both.
*/
+ req.bmRequestType = UT_WRITE_CLASS_OTHER;
if (usbd_do_request(sc->sc_udev, &req, 0)) { /* 1.0 */
req.bmRequestType = UT_WRITE_CLASS_INTERFACE;
(void)usbd_do_request(sc->sc_udev, &req, 0); /* 1.1 */