diff options
| author | Ryder Lee <ryder.lee@mediatek.com> | 2021-02-23 22:00:36 +0800 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2021-04-12 00:01:22 +0200 |
| commit | 2b35050a321865859fd2f12a3c18ed7be27858c9 (patch) | |
| tree | c50019f1a5e1d7316468873c880bddb5efd64574 /tools/perf/scripts/python | |
| parent | 2eb6f6c437745bce46bd7a8f3a22a732d5b9becb (diff) | |
| download | linux-2b35050a321865859fd2f12a3c18ed7be27858c9.tar.gz linux-2b35050a321865859fd2f12a3c18ed7be27858c9.zip | |
mt76: mt7915: fix mib stats counter reporting to mac80211
In order to properly report MIB counters to mac80211, resets stats in
mt7915_get_stats routine() and hold mt76 mutex accessing MIB counters.
Sum up MIB counters in mt7915_mac_update_mib_stats routine.
Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
