summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-08-31 12:26:50 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-08-31 12:26:50 +0000
commit3dd7be0493db8d8c56caf94d2d0876e04ec19263 (patch)
tree0264936dc163ecd324571bd53ca073b221cc6527 /sys/dev
parent46ec8740f0477f7d789e346de554585ec88a076a (diff)
Backout clear endpoint stall on open(2). It seems to break an illuminated
Logitech keyboard for unknown reasons. Reported by denis@ ok djm@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uhidev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c
index e086a8d9251..5f2bc07cc96 100644
--- a/sys/dev/usb/uhidev.c
+++ b/sys/dev/usb/uhidev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhidev.c,v 1.82 2020/08/27 17:33:07 patrick Exp $ */
+/* $OpenBSD: uhidev.c,v 1.83 2020/08/31 12:26:49 patrick Exp $ */
/* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -517,7 +517,6 @@ uhidev_open(struct uhidev *scd)
error = EIO;
goto out1;
}
- usbd_clear_endpoint_stall(sc->sc_ipipe);
DPRINTF(("uhidev_open: sc->sc_ipipe=%p\n", sc->sc_ipipe));
@@ -543,7 +542,6 @@ uhidev_open(struct uhidev *scd)
error = EIO;
goto out2;
}
- usbd_clear_endpoint_stall(sc->sc_opipe);
DPRINTF(("uhidev_open: sc->sc_opipe=%p\n", sc->sc_opipe));