summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_mos.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/if_mos.c')
-rw-r--r--sys/dev/usb/if_mos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/if_mos.c b/sys/dev/usb/if_mos.c
index c84e10e2452..f7cf57fe39f 100644
--- a/sys/dev/usb/if_mos.c
+++ b/sys/dev/usb/if_mos.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mos.c,v 1.42 2020/07/10 13:26:40 patrick Exp $ */
+/* $OpenBSD: if_mos.c,v 1.43 2020/07/31 10:49:32 mglocker Exp $ */
/*
* Copyright (c) 2008 Johann Christian Rode <jcrode@gmx.net>
@@ -1334,7 +1334,6 @@ mos_stop(struct mos_softc *sc)
/* Stop transfers. */
if (sc->mos_ep[MOS_ENDPT_RX] != NULL) {
- usbd_abort_pipe(sc->mos_ep[MOS_ENDPT_RX]);
err = usbd_close_pipe(sc->mos_ep[MOS_ENDPT_RX]);
if (err) {
printf("%s: close rx pipe failed: %s\n",
@@ -1344,7 +1343,6 @@ mos_stop(struct mos_softc *sc)
}
if (sc->mos_ep[MOS_ENDPT_TX] != NULL) {
- usbd_abort_pipe(sc->mos_ep[MOS_ENDPT_TX]);
err = usbd_close_pipe(sc->mos_ep[MOS_ENDPT_TX]);
if (err) {
printf("%s: close tx pipe failed: %s\n",
@@ -1354,7 +1352,6 @@ mos_stop(struct mos_softc *sc)
}
if (sc->mos_ep[MOS_ENDPT_INTR] != NULL) {
- usbd_abort_pipe(sc->mos_ep[MOS_ENDPT_INTR]);
err = usbd_close_pipe(sc->mos_ep[MOS_ENDPT_INTR]);
if (err) {
printf("%s: close intr pipe failed: %s\n",