diff options
| author | Lorenzo Bianconi <lorenzo@kernel.org> | 2021-02-23 13:42:49 +0300 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2021-04-12 01:01:22 +0300 |
| commit | 2eb6f6c437745bce46bd7a8f3a22a732d5b9becb (patch) | |
| tree | 1913a1f7a0343f827b8e3c8210504475556f5731 /include/linux/timerqueue.h | |
| parent | d43c7301d3308828220ad733043e53254fb98cd7 (diff) | |
| download | linux-2eb6f6c437745bce46bd7a8f3a22a732d5b9becb.tar.xz | |
mt76: mt7615: fix mib stats counter reporting to mac80211
In order to properly report MIB counters to mac80211, resets stats in
mt7615_get_stats routine and hold mt76 mutex accessing MIB counters.
Sum up MIB counters in mt7615_mac_update_mib_stats routine.
Fixes: c388d8584bc83 ("mt76: mt7615: add a get_stats() callback")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
