OSDN Git Service

mt76: mt7603: reset STA_CCA counter setting the channel
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 21 Nov 2019 08:42:13 +0000 (10:42 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:00 +0000 (10:06 +0100)
commit00c29ab2f67105444b50cea59b68cf716e27cedc
treea868159717477d16ca38a9a1ae29e4d9dfea6ea6
parenteba571683b40eb1ad982c6ce9b92d15724bc220e
mt76: mt7603: reset STA_CCA counter setting the channel

Reset MT_MIB_STAT_CCA after channel switch since it is used to track busy
time starting from 'commit dcff8d4dc301 ("mt76: mt7603: switch to a
different counter for survey busy time")'

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/main.c