summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-04-15 13:42:55 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-04-15 13:42:55 +0000
commitb0f434e1596156c61eb5a857756294c4e0a8d942 (patch)
tree47106600108b70063914eb3e76da6beb14c04fff /sys/dev
parent9a3f3fab5f7b65416388362bea9f5c68ddbe2a6d (diff)
in ural_txeof(), call usbd_clear_endpoint_stall() on the tx pipe instead of
the rx pipe.
Diffstat (limited to 'sys/dev')
-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;