mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: fix antenna selection for testmode tx_frames
Do not alter the tx/rx chain settings during channel setup, antennas are remapped by the testmode specific register writes already Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ mt7615_tm_set_tx_antenna(struct mt7615_dev *dev, bool en)
|
||||
for (i = 0; i < 4; i++) {
|
||||
mt76_rmw_field(dev, MT_WF_PHY_RFINTF3_0(i),
|
||||
MT_WF_PHY_RFINTF3_0_ANT,
|
||||
td->tx_antenna_mask & BIT(i) ? 0 : 0xa);
|
||||
(td->tx_antenna_mask & BIT(i)) ? 0 : 0xa);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user