mt76: clear CCA timer stats in mt76x02_edcca_init
Avoid triggering too early Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2e4050240a
commit
c15b7cef2a
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue