OpenCloudOS-Kernel/drivers/net/wireless/iwlwifi
Eyal Shapira 80e9e5cd26 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>
2013-12-31 19:03:52 +02:00
..
dvm iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave 2013-12-17 19:39:46 +02:00
mvm iwlwifi: mvm: rs: fix a potential NULL deref 2013-12-31 19:03:52 +02:00
pcie iwlwifi: pcie: Fix CSR_RESET operation access type 2013-12-31 19:03:50 +02:00
Kconfig iwlwifi: Kconfig: fix help texts wrt 7260 and 3160 devices 2013-08-16 12:11:47 +02:00
Makefile iwlwifi: remove testmode 2013-06-18 11:51:57 +02:00
iwl-1000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-2000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-5000.c iwlwifi: move some configuration parameters into DVM 2013-05-27 13:11:42 +02:00
iwl-6000.c iwlwifi: pcie: add SKUs for 6000, 6005 and 6235 series 2013-10-02 11:25:38 +02:00
iwl-7000.c iwlwifi: mvm: rs: fix RTS protection being set indefinitely 2013-12-17 22:32:56 +02:00
iwl-agn-hw.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-config.h iwlwifi: publish STBC support in HT 2013-12-17 19:39:38 +02:00
iwl-csr.h iwlwifi: pcie: clean up ICT allocation code 2013-12-17 22:32:58 +02:00
iwl-debug.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-debug.h iwlwifi: introduce external debug level 2013-08-09 14:37:33 +02:00
iwl-devtrace.c iwlwifi: update copyright 2013-01-24 13:00:55 +01:00
iwl-devtrace.h mac80211: add control port protocol TX control flag 2013-08-12 14:09:29 +02:00
iwl-drv.c iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
iwl-drv.h iwlwifi: include export.h instead of module.h 2013-06-11 20:16:26 +02:00
iwl-eeprom-parse.c iwlwifi: publish STBC support in HT 2013-12-17 19:39:38 +02:00
iwl-eeprom-parse.h iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-eeprom-read.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-eeprom-read.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fh.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-fw-file.h iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
iwl-fw.h iwlwifi: mvm: Add and examine TLV flag for P2P client uAPSD support 2013-12-17 19:39:52 +02:00
iwl-io.c iwlwifi: remove duplicate includes 2013-10-29 19:42:36 +02:00
iwl-io.h iwlwifi: move dump_fh into common code 2013-07-16 13:12:54 +03:00
iwl-modparams.h iwlwifi: remove auto_agg module parameter 2013-06-18 11:51:56 +02:00
iwl-notif-wait.c iwlwifi: export symbols only conditionally 2013-03-06 16:47:56 +01:00
iwl-notif-wait.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-nvm-parse.c iwlwifi: mvm: set highest rate in VHT MCS Set 2013-12-17 19:39:58 +02:00
iwl-nvm-parse.h iwlwifi: take valid ant for HT caps from TLV 2013-05-29 09:03:23 +02:00
iwl-op-mode.h iwlwifi: remove pointer to transport from op_mode 2013-12-17 19:39:49 +02:00
iwl-phy-db.c iwlwifi: remove calib channel section from PHY DB 2013-06-13 12:03:52 +02:00
iwl-phy-db.h iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
iwl-prph.h iwlwifi: mvm: Add debugfs entry to generate NMI to NIC 2013-12-09 22:27:57 +02:00
iwl-trans.h iwlwifi: pcie: allow the op_mode to call stop_device whenever it wants 2013-12-31 19:03:45 +02:00