diff options
author | Michal Kazior <[email protected]> | 2015-03-24 12:38:11 +0000 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2015-04-01 20:20:16 +0300 |
commit | c94aa7ef4647b81bc110300e0a1be777961d7a3a (patch) | |
tree | 7fd31d85cde6f732560757326dd27d3ff74413e9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 9eea56895faa397ecb5bec99790613a36b6ad1e3 (diff) |
ath10k: fix survey reporting
Number of channels is stored in a separate macro
in a header file and channel list is constructed
independently. The macro is used to define survey
array.
This fixes a recent regression introduced after
adding support for 144 channel. The regression
would lead to a warning and incomplete survey data
on channel 165:
chan info: invalid frequency 5825 (idx 38 out of bounds)
Also make sure to enforce the sizes and avoid this
kind of problem in the future.
Fixes: 4a7898fed5f3 ("ath10k: enable channel 144 on 5GHz band")
Signed-off-by: Michal Kazior <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions