提交 bdce40f0 编写于 作者: E Eran Harary 提交者: Emmanuel Grumbach

iwlwifi: mvm: warn about empty OTP

Signed-off-by: NEran Harary <eran.harary@intel.com>
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
上级 4c86f938
...@@ -530,6 +530,8 @@ int iwl_nvm_init(struct iwl_mvm *mvm, bool read_nvm_from_nic) ...@@ -530,6 +530,8 @@ int iwl_nvm_init(struct iwl_mvm *mvm, bool read_nvm_from_nic)
} }
#endif #endif
} }
if (!size_read)
IWL_ERR(mvm, "OTP is blank\n");
kfree(nvm_buffer); kfree(nvm_buffer);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册