diff options
| author | 2022-08-30 06:57:44 +0800 | |
|---|---|---|
| committer | 2022-09-15 13:21:39 +0200 | |
| commit | 1bf66dc31032ff5292f4d5b76436653f269fcfbd (patch) | |
| tree | 64d0afd5fbfb52f098c483b9a3bb1eab9cd2011c /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | wifi: mt76: mt7915: do not check state before configuring implicit beamform (diff) | |
| download | linux-dev-1bf66dc31032ff5292f4d5b76436653f269fcfbd.tar.xz linux-dev-1bf66dc31032ff5292f4d5b76436653f269fcfbd.zip | |
wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
We should reset mstat->airtime_ac along with clear up the entries in the
hardware WLAN table for the Rx and Rx accumulative airtime. Otherwsie, the
value msta->airtime_ac - [tx, rx]_last may be a negative and that is not
the actual airtime the device took in the last run.
Reported-by: YN Chen <YN.Chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
