diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-10-05 17:22:23 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-04 13:46:15 +0100 |
commit | 1c79a190e94325e01811f653f770a34e816fdd8f (patch) | |
tree | 2e61a1a94a43527e15f1e2bde334264affc2894d /drivers/net/wireless/mediatek/mt76/sdio.c | |
parent | 80dda1ed4908704d5e6847f9835ceee0bb00b2d4 (diff) |
mt76: mt7663s: fix a possible ple quota underflow
Properly account current consumed ple quota in mt7663s_tx_pick_quota
routine and avoid possible underflow.
Fixes: 6ef2d665f64d ("mt76: mt7663s: split mt7663s_tx_update_sched in mt7663s_tx_{pick,update}_quota")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/sdio.c')
0 files changed, 0 insertions, 0 deletions