summaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-05-02 20:16:55 +0000
committerSam Leffler <sam@FreeBSD.org>2009-05-02 20:16:55 +0000
commit04f19fd699f50d949be1b6ff40287ddb3982ffe0 (patch)
tree30f6ca4cbd6d3ef52796d2af9945c2c555ff14f7 /sys/dev/ath
parent5efea30f039c48ddcdddc0d12150b656f4a2e7b8 (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index c7c792703a56..d0fb6eeaf4bc 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -3995,12 +3995,7 @@ rx_next:
if ((ifp->if_drv_flags & IFF_DRV_OACTIVE) == 0) {
#ifdef IEEE80211_SUPPORT_SUPERG
- if (ic->ic_stageqdepth) {
- ieee80211_age_stageq(ic, WME_AC_VO, 100);
- ieee80211_age_stageq(ic, WME_AC_VI, 100);
- ieee80211_age_stageq(ic, WME_AC_BE, 100);
- ieee80211_age_stageq(ic, WME_AC_BK, 100);
- }
+ ieee80211_ff_age_all(ic, 100);
#endif
if (!IFQ_IS_EMPTY(&ifp->if_snd))
ath_start(ifp);
@@ -4980,7 +4975,7 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq)
* Flush fast-frame staging queue when traffic slows.
*/
if (txq->axq_depth <= 1)
- ieee80211_flush_stageq(ic, txq->axq_ac);
+ ieee80211_ff_flush(ic, txq->axq_ac);
#endif
return nacked;
}