linux/drivers/net/wireless/iwlwifi/mvm
Eliad Peller 8c678ed466 iwlwifi: mvm: check iwl_nvm_init return value
iwl_nvm_init() return value wasn't checked in some
path, which resulted in the following panic (if
there was some issue with the nvm):

Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = d0460000
[00000004] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP
Modules linked in: iwlmvm(+) iwlwifi mac80211 cfg80211 compat [last unloaded: compat]
PC is at iwl_mvm_mac_setup_register+0x12c/0x460 [iwlmvm]
LR is at 0x2710
pc : [<bf50dd4c>]    lr : [<00002710>]    psr: 20800013
sp : d00cfe18  ip : 0000081e  fp : d006b908
r10: d0711408  r9 : bf532e64  r8 : d006b5bc
r7 : d01af000  r6 : bf39cefc  r5 : d006ab00  r4 : d006b5a4
r3 : 00000001  r2 : 00000000  r1 : d006a120  r0 : d006b860

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2013-12-17 19:39:50 +02:00
..
Makefile iwlwifi: mvm: Add Smart FIFO support 2013-12-17 19:39:37 +02:00
binding.c iwlwifi: mvm: Add Smart FIFO support 2013-12-17 19:39:37 +02:00
bt-coex.c iwlwifi: mvm: BT Coex - enable Sync to SCO 2013-12-09 22:29:48 +02:00
constants.h iwlwifi: mvm: Adjust some power management constants 2013-10-02 18:00:35 +02:00
d3.c iwlwifi: mvm: don't restart HW if suspending fails before D3 image is loaded 2013-12-09 22:29:45 +02:00
debugfs-vif.c iwlwifi: mvm: add per-vif power debugfs hooks 2013-12-17 19:39:43 +02:00
debugfs.c iwlwifi: mvm: dump NVM from debugfs 2013-12-09 22:29:45 +02:00
debugfs.h iwlwifi: mvm: refactor debugfs copy_from_user() 2013-12-09 22:29:04 +02:00
fw-api-bt-coex.h iwlwifi: mvm: BT Coex - enable Sync to SCO 2013-12-09 22:29:48 +02:00
fw-api-d3.h iwlwifi: mvm: keep connection to AP after WoWLAN 2013-10-11 09:57:53 +02:00
fw-api-mac.h iwlwifi: mvm: add IBSS support 2013-10-11 10:14:08 +02:00
fw-api-power.h iwlwifi: mvm: Add uAPSD misbehaving AP notification handling 2013-12-17 19:39:40 +02:00
fw-api-rs.h iwlwifi: mvm: add LQ flags definitions 2013-12-09 22:29:04 +02:00
fw-api-scan.h iwlwifi: mvm: fix scan offloading flag definition 2013-12-09 22:29:45 +02:00
fw-api-sta.h iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
fw-api-tx.h iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
fw-api.h iwlwifi: mvm: add multicast filtering support 2013-12-17 19:39:44 +02:00
fw.c iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave 2013-12-17 19:39:46 +02:00
led.c iwlwifi: a few fixes in license 2013-03-06 16:46:59 +01:00
mac-ctxt.c iwlwifi: mvm: fix ht protection flags 2013-12-09 22:29:03 +02:00
mac80211.c iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave 2013-12-17 19:39:46 +02:00
mvm.h iwlwifi: mvm: clarify smps_requests documentation 2013-12-17 19:39:46 +02:00
nvm.c iwlwifi: mvm: dump NVM from debugfs 2013-12-09 22:29:45 +02:00
ops.c iwlwifi: mvm: check iwl_nvm_init return value 2013-12-17 19:39:50 +02:00
phy-ctxt.c iwlwifi: mvm: implement D3 testing 2013-05-29 21:56:57 +02:00
power.c iwlwifi: mvm: add per-vif power debugfs hooks 2013-12-17 19:39:43 +02:00
power_legacy.c iwlwifi: mvm: Upgrade to a new power management uAPSD API 2013-07-16 16:13:23 +03:00
quota.c iwlwifi: mvm: quota command max_duration should be zero 2013-12-09 22:29:46 +02:00
rs.c iwlwifi: mvm: rs: move rs_program_fix_rate to cleanup ifdefs 2013-12-17 19:39:48 +02:00
rs.h iwlwifi: mvm: rs: overhaul search cycle state machine 2013-12-09 22:29:48 +02:00
rx.c iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
scan.c iwlwifi: mvm: Implement low-priority scan 2013-12-09 22:29:45 +02:00
sf.c iwlwifi: mvm: Add Smart FIFO support 2013-12-17 19:39:37 +02:00
sta.c iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
sta.h iwlwifi: mvm: add iwl_mvm_sta_from_mac80211 2013-12-09 22:29:44 +02:00
testmode.h iwlwifi: mvm: implement beacon filtering testmode command 2013-10-02 18:00:31 +02:00
time-event.c iwlwifi: mvm: don't WARN about unsuccessful time event 2013-11-25 23:00:20 +02:00
time-event.h iwlwifi: mvm: give client MACs time to synchronise during restart 2013-10-02 18:00:34 +02:00
tt.c iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave 2013-12-17 19:39:46 +02:00
tx.c iwlwifi: mvm: add a generic cipher scheme support 2013-12-17 19:39:38 +02:00
utils.c iwlwifi: mvm: don't send SMPS action frame with single RX antenna 2013-12-09 22:34:28 +02:00