diff options
author | Michael Straube <straube.linux@gmail.com> | 2024-08-31 13:08:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-03 11:31:56 +0300 |
commit | 24f7977e83cda19cd34fe69a12ceb881dc632d47 (patch) | |
tree | 15a3dfb6277d80ac382093186784b6aad341259d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a5d1b523ad47ab2b7e7547c555f92f3230f046c5 (diff) | |
download | linux-24f7977e83cda19cd34fe69a12ceb881dc632d47.tar.xz |
staging: rtl8192e: adjust size of rx_pwr for new RF90_PATH_MAX
The local array rx_pwr in the function _rtl92e_query_rxphystatus() is
always accessed by indices in the range i = 0; i < RF90_PATH_MAX.
A previous patch changed the value of RF90_PATH_MAX from 4 to 2, so we can
reduce the size of rx_pwr to 2. Use RF90_PATH_MAX instead of a hard-coded
size.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240831100809.29173-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions