correct check for high priority wme traffic

Noticed by:	Ralf Assmann
Reviewed by:	apatti
Approved by:	re (scottl)
This commit is contained in:
sam 2005-07-08 22:49:26 +00:00
parent 4c097d4765
commit 514091a2b5

View File

@ -257,7 +257,7 @@ ieee80211_input(struct ieee80211com *ic, struct mbuf *m,
if (IEEE80211_QOS_HAS_SEQ(wh)) {
tid = ((struct ieee80211_qosframe *)wh)->
i_qos[0] & IEEE80211_QOS_TID;
if (tid >= WME_AC_VI)
if (TID_TO_WME_AC(tid) >= WME_AC_VI)
ic->ic_wme.wme_hipri_traffic++;
tid++;
} else