From: Eran Harary Date: Mon, 29 Dec 2014 11:02:13 +0000 (+0200) Subject: iwlwifi: mvm: add print of he nvm version X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a831e0806218c1f1036e6de67ffa1c890bd017e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iwlwifi: mvm: add print of he nvm version Print the nvm version in the log for debugging purposes. Signed-off-by: Eran Harary Signed-off-by: Emmanuel Grumbach --- diff --git a/drivers/net/wireless/iwlwifi/mvm/nvm.c b/drivers/net/wireless/iwlwifi/mvm/nvm.c index d55fd8e3654c..d8ac01d97e26 100644 --- a/drivers/net/wireless/iwlwifi/mvm/nvm.c +++ b/drivers/net/wireless/iwlwifi/mvm/nvm.c @@ -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); if (!mvm->nvm_data) return -ENODATA; + IWL_DEBUG_EEPROM(mvm->trans->dev, "nvm version = %x\n", + mvm->nvm_data->nvm_version); return 0; }