diff options
author | 2015-08-11 00:45:03 +0300 | |
---|---|---|
committer | 2015-08-16 10:28:08 +0300 | |
commit | 5b9d47cdde1aacaac9b9dcefe44ee3493dc5fd87 (patch) | |
tree | f70b63615fa47c92343bf48804508796f09b7fee /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iwlwifi: convert hex_dump_to_buffer() to %*ph (diff) | |
download | wireguard-linux-5b9d47cdde1aacaac9b9dcefe44ee3493dc5fd87.tar.xz wireguard-linux-5b9d47cdde1aacaac9b9dcefe44ee3493dc5fd87.zip |
iwlwifi: mvm: fix a range check in debugfs code
The &mvm->tof_data.range_req.ap[] array has IWL_MVM_TOF_MAX_APS elements
so the check should be >= instead of >. Also the test can underflow so
I have changed "i" to unsigned.
Fixes: ce7929186a39 ('wlwifi: mvm: add basic Time of Flight (802.11mc FTM) support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions