summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1201.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-10 23:45:03 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-08-16 09:28:08 +0200
commit5b9d47cdde1aacaac9b9dcefe44ee3493dc5fd87 (patch)
treef70b63615fa47c92343bf48804508796f09b7fee /drivers/net/wireless/zd1201.h
parentiwlwifi: convert hex_dump_to_buffer() to %*ph (diff)
downloadlinux-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/wireless/zd1201.h')
0 files changed, 0 insertions, 0 deletions