summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-7000.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2013-12-23 16:26:41 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-31 19:03:52 +0200
commit80e9e5cd265af43cc51948125317c40f0988013b (patch)
tree82a63c92721c2d769ac4cd05bb4bcc20cd4deb1f /drivers/net/wireless/iwlwifi/iwl-7000.c
parent6e97b0d2984a7f80b1d6ba4f62d84d2ce8106069 (diff)
downloadlwn-80e9e5cd265af43cc51948125317c40f0988013b.tar.gz
lwn-80e9e5cd265af43cc51948125317c40f0988013b.zip
iwlwifi: mvm: rs: fix a potential NULL deref
Found by klocwork analysis. mvm could be NULL which may cause a NULL dereference in a theoretical call flow rs_fill_lq_cmd(mvm = NULL, ...) rs_build_rates_table rs_fill_rates_for_column ucode_rate_from_rs_rate IWL_ERR(mvm,...) No real reason for passing NULL to rs_fill_lq_cmd so fix that. Reported-by: Eytan Lifshitz <eytan.lifshitz@intel.com> Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-7000.c')
0 files changed, 0 insertions, 0 deletions