aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 949d857debd8..31284c984e38 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -657,15 +657,15 @@ void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata)
657 657
658 switch (queue) { 658 switch (queue) {
659 case 3: /* AC_BK */ 659 case 3: /* AC_BK */
660 qparam.cw_max = aCWmin; 660 qparam.cw_max = aCWmax;
661 qparam.cw_min = aCWmax; 661 qparam.cw_min = aCWmin;
662 qparam.txop = 0; 662 qparam.txop = 0;
663 qparam.aifs = 7; 663 qparam.aifs = 7;
664 break; 664 break;
665 default: /* never happens but let's not leave undefined */ 665 default: /* never happens but let's not leave undefined */
666 case 2: /* AC_BE */ 666 case 2: /* AC_BE */
667 qparam.cw_max = aCWmin; 667 qparam.cw_max = aCWmax;
668 qparam.cw_min = aCWmax; 668 qparam.cw_min = aCWmin;
669 qparam.txop = 0; 669 qparam.txop = 0;
670 qparam.aifs = 3; 670 qparam.aifs = 3;
671 break; 671 break;