]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
iwlwifi: mvm: add print of he nvm version
authorEran Harary <eran.harary@intel.com>
Mon, 29 Dec 2014 11:02:13 +0000 (13:02 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 22 Jan 2015 15:54:00 +0000 (17:54 +0200)
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>
drivers/net/wireless/iwlwifi/mvm/nvm.c

index d55fd8e3654c830d047fbe9712686ef0dbff73b3..d8ac01d97e26b942c9ce7eb5b61a0b9e1ba46093 100644 (file)
@@ -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;
 }