git: 82abd2185753 - stable/14 - ath: Revert "Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process"

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 21:11:13 UTC
The branch stable/14 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=82abd21857533c3ffc3b7270dc3657be37951784

commit 82abd21857533c3ffc3b7270dc3657be37951784
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-11-03 21:52:35 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2024-02-18 18:31:13 +0000

    ath: Revert "Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process"
    
    This reverts commit 6c3e93cb5a4aa4b8a2d8d4d326f2a7c34d3a4458 for
    sys/dev/ath/if_ath.c only.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 82506f26c03aa312b91e01a797f31e061749a76d)
---
 sys/dev/ath/if_ath.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 31bfa1108592..094517da5689 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -758,7 +758,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
 	taskqueue_start_threads(&sc->sc_tq, 1, PI_NET, "%s taskq",
 	    device_get_nameunit(sc->sc_dev));
 
-	NET_TASK_INIT(&sc->sc_rxtask, 0, sc->sc_rx.recv_tasklet, sc);
+	TASK_INIT(&sc->sc_rxtask, 0, sc->sc_rx.recv_tasklet, sc);
 	TASK_INIT(&sc->sc_bmisstask, 0, ath_bmiss_proc, sc);
 	TASK_INIT(&sc->sc_tsfoortask, 0, ath_tsfoor_proc, sc);
 	TASK_INIT(&sc->sc_bstucktask,0, ath_bstuck_proc, sc);