aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2020-12-07 11:19:03 +0800
committerKalle Valo <[email protected]>2020-12-09 09:22:37 +0200
commit3f79e541593fecc2a90687eb7162e15a499caa33 (patch)
treec692a23ab14b0fb8380eb5c29e689a984c2fe45c /tools/perf/scripts/python/syscall-counts.py
parent18572b0b54930ecf642a68444b15507c43c07f54 (diff)
rtlwifi: rtl8192de: fix ofdm power compensation
ofdm_index[] is used to indicate how many power compensation is needed to current thermal value. For internal PA module or 2.4G band, the min_index is different from other cases. This issue originally is reported by Dan. He found the size of ofdm_index[] is 2, but access index 'i' may be equal to 2 if 'rf' is 2 in case of 'is2t'. In fact, the chunk of code is added to wrong place, so move it back to proper place, and then power compensation and buffer overflow are fixed. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions