wifi: mt76: mt7915: fix bogus Tx/Rx airtime duration values
authorHenry Yen <henry.yen@mediatek.com>
Thu, 22 Feb 2024 03:24:46 +0000 (11:24 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 10:44:50 +0000 (12:44 +0200)
commit296931843a72a6bff5e10d893d4128ffd4cd9324
tree7e299349256d9b5afcbc3bf5b9af31138bc45f1e
parentb7e56fa0cc8f28fc6e21bd34e971f92e3631bf95
wifi: mt76: mt7915: fix bogus Tx/Rx airtime duration values

Do not report measurements if the airtime counter was cleared since the
last update (possibly by firmware)

Signed-off-by: Henry Yen <henry.yen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c