Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Use usb_rem_task_wait in atu(4).
details: https://anonhg.NetBSD.org/src/rev/2309610f7e5b
branches: trunk
changeset: 365037:2309610f7e5b
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Jul 29 02:00:07 2018 +0000
description:
Use usb_rem_task_wait in atu(4).
diffstat:
sys/dev/usb/if_atu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bc355aaba540 -r 2309610f7e5b sys/dev/usb/if_atu.c
--- a/sys/dev/usb/if_atu.c Sun Jul 29 01:59:56 2018 +0000
+++ b/sys/dev/usb/if_atu.c Sun Jul 29 02:00:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_atu.c,v 1.61 2018/06/26 06:48:02 msaitoh Exp $ */
+/* $NetBSD: if_atu.c,v 1.62 2018/07/29 02:00:07 riastradh Exp $ */
/* $OpenBSD: if_atu.c,v 1.48 2004/12/30 01:53:21 dlg Exp $ */
/*
* Copyright (c) 2003, 2004
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.61 2018/06/26 06:48:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_atu.c,v 1.62 2018/07/29 02:00:07 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2235,7 +2235,7 @@
ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
ifp->if_timer = 0;
- usb_rem_task(sc->atu_udev, &sc->sc_task);
+ usb_rem_task_wait(sc->atu_udev, &sc->sc_task, USB_TASKQ_DRIVER);
ieee80211_new_state(ic, IEEE80211_S_INIT, -1);
/* Stop transfers. */
Home |
Main Index |
Thread Index |
Old Index