summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2005-04-15 13:42:54 +0000
committerdamien <damien@openbsd.org>2005-04-15 13:42:54 +0000
commit5e934c9cafe47b7eaba9b6eb58838daa610c8bbb (patch)
treee36d64beacd0586ba3cf184e3fff3fddd3052452
parentMissing space (diff)
downloadwireguard-openbsd-5e934c9cafe47b7eaba9b6eb58838daa610c8bbb.tar.xz
wireguard-openbsd-5e934c9cafe47b7eaba9b6eb58838daa610c8bbb.zip
in ural_txeof(), call usbd_clear_endpoint_stall() on the tx pipe instead of
the rx pipe.
-rw-r--r--sys/dev/usb/if_ral.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c
index 0b61a3856b8..65723e091c2 100644
--- a/sys/dev/usb/if_ral.c
+++ b/sys/dev/usb/if_ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ral.c,v 1.24 2005/04/13 12:24:11 damien Exp $ */
+/* $OpenBSD: if_ral.c,v 1.25 2005/04/15 13:42:54 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -791,7 +791,7 @@ ural_txeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status)
USBDEVNAME(sc->sc_dev), usbd_errstr(status));
if (status == USBD_STALLED)
- usbd_clear_endpoint_stall(sc->sc_rx_pipeh);
+ usbd_clear_endpoint_stall(sc->sc_tx_pipeh);
ifp->if_oerrors++;
return;