aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2017-10-12 21:58:51 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2017-10-12 21:58:51 +0000
commit565312d18481400add6fc7b7bcc08c90f23583a0 (patch)
tree8a99e1548c27a4594039ab40fe2b071d7200ee0f /sys/dev/ath
parent48f95a360ed15bd208c90b54c5e3711a917f11d8 (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 87e97109db76..1b0f47f71390 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -4049,10 +4049,14 @@ ath_txq_update(struct ath_softc *sc, int ac)
#define ATH_EXPONENT_TO_VALUE(v) ((1<<v)-1)
struct ieee80211com *ic = &sc->sc_ic;
struct ath_txq *txq = sc->sc_ac2q[ac];
- struct wmeParams *wmep = &ic->ic_wme.wme_chanParams.cap_wmeParams[ac];
+ struct chanAccParams chp;
+ struct wmeParams *wmep;
struct ath_hal *ah = sc->sc_ah;
HAL_TXQ_INFO qi;
+ ieee80211_wme_ic_getparams(ic, &chp);
+ wmep = &chp.cap_wmeParams[ac];
+
ath_hal_gettxqueueprops(ah, txq->axq_qnum, &qi);
#ifdef IEEE80211_SUPPORT_TDMA
if (sc->sc_tdma) {