mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: fix tx_frames setup
Properly set up the state when entering the tx_frames state Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ mt7615_tm_set_state(struct mt76_dev *mdev, enum mt76_testmode_state state)
|
||||
if (prev_state == MT76_TM_STATE_TX_FRAMES)
|
||||
mt7615_tm_set_tx_frames(dev, false);
|
||||
else if (state == MT76_TM_STATE_TX_FRAMES)
|
||||
mt7615_tm_set_rx_enable(dev, true);
|
||||
mt7615_tm_set_tx_frames(dev, true);
|
||||
|
||||
if (state <= MT76_TM_STATE_IDLE)
|
||||
mt7615_tm_init(dev);
|
||||
|
||||
Reference in New Issue
Block a user