diff options
author | Eran Harary <eran.harary@intel.com> | 2014-12-29 12:02:13 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-01-22 16:54:00 +0100 |
commit | 2a831e0806218c1f1036e6de67ffa1c890bd017e (patch) | |
tree | 31f011068e345007536de99d20db0227aaf4a2e0 /drivers | |
parent | iwlwifi: mvm: set max_out_time equal to frag_passive_dwell in fragmented scan (diff) | |
download | linux-2a831e0806218c1f1036e6de67ffa1c890bd017e.tar.xz linux-2a831e0806218c1f1036e6de67ffa1c890bd017e.zip |
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>
Diffstat (limited to 'drivers')
-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 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; } |