aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2022-04-02 17:30:13 +0200
committerKalle Valo <quic_kvalo@quicinc.com>2022-04-12 16:11:47 +0300
commit24584d4f0afc75faa57883dd694e0df61af0ad40 (patch)
tree1c81b6eebb74a856b1e7587e5eec0539a16a2792 /tools/perf/scripts/python/event_analyzing_sample.py
parentMerge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git (diff)
downloadlinux-24584d4f0afc75faa57883dd694e0df61af0ad40.tar.gz
linux-24584d4f0afc75faa57883dd694e0df61af0ad40.zip
ath9k: fix ath_get_rate_txpower() to respect the rate list end tag
Stop reading (and copying) from ieee80211_tx_rate to ath_tx_info.rates after list end tag (count == 0, idx < 0), prevents copying of garbage to card registers. Note: no need to write to the remaining ath_tx_info.rates entries as the complete ath_tx_info struct is already initialized to zero from both call sites. Signed-off-by: Peter Seiderer <ps.report@gmx.net> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20220402153014.31332-1-ps.report@gmx.net
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions