aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mwl
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2020-02-11 18:57:07 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2020-02-11 18:57:07 +0000
commit6c3e93cb5a4aa4b8a2d8d4d326f2a7c34d3a4458 (patch)
treedafe70452ee0f6a65323f5c914a4a846c5cf0faa /sys/dev/mwl
parent4426b2e64bd6ff5b05997d985140323b3db67085 (diff)
Notes
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r--sys/dev/mwl/if_mwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c
index 6e8e560ba663..9918366f2c75 100644
--- a/sys/dev/mwl/if_mwl.c
+++ b/sys/dev/mwl/if_mwl.c
@@ -360,7 +360,7 @@ mwl_attach(uint16_t devid, struct mwl_softc *sc)
taskqueue_start_threads(&sc->sc_tq, 1, PI_NET,
"%s taskq", device_get_nameunit(sc->sc_dev));
- TASK_INIT(&sc->sc_rxtask, 0, mwl_rx_proc, sc);
+ NET_TASK_INIT(&sc->sc_rxtask, 0, mwl_rx_proc, sc);
TASK_INIT(&sc->sc_radartask, 0, mwl_radar_proc, sc);
TASK_INIT(&sc->sc_chanswitchtask, 0, mwl_chanswitch_proc, sc);
TASK_INIT(&sc->sc_bawatchdogtask, 0, mwl_bawatchdog_proc, sc);