diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-10 23:45:03 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-08-16 09:28:08 +0200 |
commit | 5b9d47cdde1aacaac9b9dcefe44ee3493dc5fd87 (patch) | |
tree | f70b63615fa47c92343bf48804508796f09b7fee /drivers/net/plip/Makefile | |
parent | iwlwifi: convert hex_dump_to_buffer() to %*ph (diff) | |
download | linux-5b9d47cdde1aacaac9b9dcefe44ee3493dc5fd87.tar.xz 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 'drivers/net/plip/Makefile')
0 files changed, 0 insertions, 0 deletions