mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: fix fixed-rate check
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -362,7 +362,7 @@ int mt7603_mac_write_txwi(struct mt76_dev *mdev, void *txwi_ptr,
|
||||
txwi[6] = 0;
|
||||
|
||||
spin_lock_bh(&dev->mt76.lock);
|
||||
if (rate->idx >= 0 && !rate->count) {
|
||||
if (rate->idx >= 0 && rate->count) {
|
||||
u16 rateval = mt7603_mac_tx_rate_val(dev, rate, &nss, &bw);
|
||||
|
||||
if ((info->flags & IEEE80211_TX_CTL_STBC) && nss == 1)
|
||||
|
||||
Reference in New Issue
Block a user