diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 968b424b03d..84cbd00e3ec 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -722,6 +722,13 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) } #endif + /* + * Initial aggregation settings. + */ + sc->sc_hwq_limit = ATH_AGGR_MIN_QDEPTH; + sc->sc_tid_hwq_lo = ATH_AGGR_SCHED_LOW; + sc->sc_tid_hwq_hi = ATH_AGGR_SCHED_HIGH; + /* * Check if the hardware requires PCI register serialisation. * Some of the Owl based MACs require this. @@ -1823,13 +1830,6 @@ ath_init(void *arg) */ sc->sc_beacons = 0; - /* - * Initial aggregation settings. - */ - sc->sc_hwq_limit = ATH_AGGR_MIN_QDEPTH; - sc->sc_tid_hwq_lo = ATH_AGGR_SCHED_LOW; - sc->sc_tid_hwq_hi = ATH_AGGR_SCHED_HIGH; - /* * Setup the hardware after reset: the key cache * is filled as needed and the receive engine is