diff options
author | damien <damien@FreeBSD.org> | 2005-11-29 21:07:32 +0000 |
---|---|---|
committer | damien <damien@FreeBSD.org> | 2005-11-29 21:07:32 +0000 |
commit | 6de081a55c1f9316b3950a07dafef98ee4c9f989 (patch) | |
tree | 49c6e824a2b65fdfd2ea8c852914ea1ccc4f803d /sys/dev | |
parent | 66c6c27e119e2a487237d140f7bb5147a08997f3 (diff) | |
download | FreeBSD-src-6de081a55c1f9316b3950a07dafef98ee4c9f989.zip FreeBSD-src-6de081a55c1f9316b3950a07dafef98ee4c9f989.tar.gz |
Use usbd_clear_endpoint_stall_async() instead of usbd_clear_endpoint_stall()
in Tx/Rx callbacks.
Obtained from: NetBSD
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/if_ural.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c index cd297e9..6f1cd83 100644 --- a/sys/dev/usb/if_ural.c +++ b/sys/dev/usb/if_ural.c @@ -872,7 +872,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_async(sc->sc_rx_pipeh); ifp->if_oerrors++; return; @@ -911,7 +911,7 @@ ural_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) return; if (status == USBD_STALLED) - usbd_clear_endpoint_stall(sc->sc_rx_pipeh); + usbd_clear_endpoint_stall_async(sc->sc_rx_pipeh); goto skip; } |