Commit 1564fa92 authored by Felix Fietkau's avatar Felix Fietkau

mt76: mt76x2: avoid running DPD calibration if tx is blocked

Doing so could lead to hangs
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 128b75bf
......@@ -241,7 +241,7 @@ void mt76x2_phy_tssi_compensate(struct mt76x02_dev *dev)
t.offset1 = txp.chain[1].tssi_offset;
mt76x2_mcu_tssi_comp(dev, &t);
if (t.pa_mode || dev->cal.dpd_cal_done)
if (t.pa_mode || dev->cal.dpd_cal_done || dev->ed_tx_blocked)
return;
usleep_range(10000, 20000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment