From 3dd7be0493db8d8c56caf94d2d0876e04ec19263 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Mon, 31 Aug 2020 12:26:50 +0000 Subject: Backout clear endpoint stall on open(2). It seems to break an illuminated Logitech keyboard for unknown reasons. Reported by denis@ ok djm@ --- sys/dev/usb/uhidev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev') 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)); -- cgit v1.2.3