From fd572ffc4c037fab603d2ea5092362a210460bbd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 27 Feb 2016 10:17:47 +0100 Subject: [PATCH] mt7603: fix hw queue assignment for WMM parameters Signed-off-by: Felix Fietkau --- mt7603_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mt7603_main.c b/mt7603_main.c index a4f0c0a1..0b8b31ed 100644 --- a/mt7603_main.c +++ b/mt7603_main.c @@ -338,6 +338,8 @@ mt7603_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, u16 cw_max = (1 << 10) - 1; u32 val; + queue = dev->mt76.q_tx[queue].hw_idx; + if (params->cw_min) cw_min = params->cw_min; if (params->cw_max)