git: 82506f26c03a - main - ath: Revert "Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process"

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 00:56:05 UTC
The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=82506f26c03aa312b91e01a797f31e061749a76d

commit 82506f26c03aa312b91e01a797f31e061749a76d
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-11-03 21:52:35 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-12-01 00:48:55 +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
    MFC after:      3 days
---
 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);