提交 820e4da1 编写于 作者: F Felix Fietkau

mt76: mt7603: fix invalid fallback rates

Only decrement the rate index on duplicate rates if it is not already 0
Signed-off-by: NFelix Fietkau <nbd@nbd.name>
上级 f4635f66
......@@ -639,6 +639,9 @@ void mt7603_wtbl_set_rates(struct mt7603_dev *dev, struct mt7603_sta *sta,
IEEE80211_TX_RC_40_MHZ_WIDTH)
continue;
if (!rates[i].idx)
continue;
rates[i].idx--;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册