mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 17:47:38 +07:00
mt76: mt76x2: avoid running DPD calibration if tx is blocked
Doing so could lead to hangs Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
128b75bf5c
commit
1564fa92fb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user