Skip to content

Commit

Permalink
mt76: clear CCA timer stats in mt76x02_edcca_init
Browse files Browse the repository at this point in the history
Avoid triggering too early

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Feb 3, 2019
1 parent e3c1aad commit 4e8766a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mt76x02_mac.c
Expand Up @@ -920,6 +920,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);

Expand Down

0 comments on commit 4e8766a

Please sign in to comment.