mirror of https://gitee.com/openkylin/linux.git
iwlwifi: mvm: add print of he nvm version
Print the nvm version in the log for debugging purposes. Signed-off-by: Eran Harary <eran.harary@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
44e9cd7e40
commit
2a831e0806
|
@ -565,6 +565,8 @@ int iwl_nvm_init(struct iwl_mvm *mvm, bool read_nvm_from_nic)
|
||||||
mvm->nvm_data = iwl_parse_nvm_sections(mvm);
|
mvm->nvm_data = iwl_parse_nvm_sections(mvm);
|
||||||
if (!mvm->nvm_data)
|
if (!mvm->nvm_data)
|
||||||
return -ENODATA;
|
return -ENODATA;
|
||||||
|
IWL_DEBUG_EEPROM(mvm->trans->dev, "nvm version = %x\n",
|
||||||
|
mvm->nvm_data->nvm_version);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue