mt7603: fix fixed-rate check

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-01-31 23:51:19 +01:00
parent 3515557086
commit 2db869ac93
+1 -1
View File
@@ -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)