Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c15b7cef authored by Felix Fietkau's avatar Felix Fietkau
Browse files

mt76: clear CCA timer stats in mt76x02_edcca_init



Avoid triggering too early

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 2e405024
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -919,6 +919,9 @@ void mt76x02_edcca_init(struct mt76x02_dev *dev, bool enable)
		}
	}
	mt76x02_edcca_tx_enable(dev, true);

	/* clear previous CCA timer value */
	mt76_rr(dev, MT_ED_CCA_TIMER);
}
EXPORT_SYMBOL_GPL(mt76x02_edcca_init);