diff options
author | Eyal Shapira <eyal@wizery.com> | 2016-02-01 09:07:05 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-02-27 21:59:54 +0200 |
commit | 4494541c0c918688dfbbaf760548846a9c1bcf3f (patch) | |
tree | a1326d086551ea8783e2c6c16c224debfb80a7c9 /drivers/net/wireless/intel/iwlwifi/iwl-7000.c | |
parent | a339e918daf281a0eb78783abc954c1e97af16c4 (diff) | |
download | linux-4494541c0c918688dfbbaf760548846a9c1bcf3f.tar.bz2 |
iwlwifi: mvm: rs: fix a theoretical access to uninitialized array elements
Klocwork is unhappy as ht_vht_rates might be accessed with
rate->index being set to values between 0 and 3 which will
lead to accessing uninitialized array elements. Effectively this
doesn't happen as in HT/VHT we're not using these rate indices.
Still fix this.
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-7000.c')
0 files changed, 0 insertions, 0 deletions