summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/nvm.c
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2014-07-01 16:31:38 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-07-07 20:41:07 +0200
commitbdce40f006dc53bfdeeba4a4ff200d4c0cf5aac8 (patch)
tree2e0e5d9e74e1314f50d83325d5285ea359fe9f03 /drivers/net/wireless/iwlwifi/mvm/nvm.c
parentiwlwifi: mvm: BT Coex - relax constraints when TTC / RRC is active (diff)
downloadlinux-bdce40f006dc53bfdeeba4a4ff200d4c0cf5aac8.tar.xz
linux-bdce40f006dc53bfdeeba4a4ff200d4c0cf5aac8.zip
iwlwifi: mvm: warn about empty OTP
Signed-off-by: Eran Harary <eran.harary@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/nvm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/nvm.c b/drivers/net/wireless/iwlwifi/mvm/nvm.c
index 1f1a550828fa..b04805ccb443 100644
--- a/drivers/net/wireless/iwlwifi/mvm/nvm.c
+++ b/drivers/net/wireless/iwlwifi/mvm/nvm.c
@@ -530,6 +530,8 @@ int iwl_nvm_init(struct iwl_mvm *mvm, bool read_nvm_from_nic)
}
#endif
}
+ if (!size_read)
+ IWL_ERR(mvm, "OTP is blank\n");
kfree(nvm_buffer);
}