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)