diff options
author | Eran Harary <eran.harary@intel.com> | 2014-07-01 16:31:38 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-07-07 20:41:07 +0200 |
commit | bdce40f006dc53bfdeeba4a4ff200d4c0cf5aac8 (patch) | |
tree | 2e0e5d9e74e1314f50d83325d5285ea359fe9f03 /drivers/net/wireless/iwlwifi/mvm/nvm.c | |
parent | iwlwifi: mvm: BT Coex - relax constraints when TTC / RRC is active (diff) | |
download | linux-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.c | 2 |
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); } |