diff options
| author | Loic Poulain <loic.poulain@linaro.org> | 2020-08-29 04:38:41 +0100 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2020-09-02 11:48:23 +0300 |
| commit | 6ea131acea98026f144f64fb2d8ea7dbb95d3049 (patch) | |
| tree | a7be83a82ae98edacd386873596b629192371df9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 10630b150bd6049b3ee56bf7b2200e574b1da7af (diff) | |
wcn36xx: Fix warning due to bad rate_idx
The rate_idx is the index of the bitrate in the supported rate table.
However the 5Ghz band has a smaller legacy bitrate table than 2.4Ghz
since it does not have the DSSS bitrates (1, 2, 5.5, 11).
So in 5Ghz band the index should adjusted accrodingly (-4).
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
[bod: Made sure fix is only applied if the rate_idx > n_bitrates]
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200829033846.2167619-6-bryan.odonoghue@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
