diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-05-09 22:46:19 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-06-23 12:20:16 +0300 |
commit | 4409e72b7113c891e4e28d432d4b459c02e88efb (patch) | |
tree | 2bd7cec3ea5728703adadfca2bf4f9146def461c /drivers/net/wireless/intel/iwlwifi/mvm/nvm.c | |
parent | a8d011446b4c62f5438b2a9724333c1efedfb26b (diff) | |
download | linux-4409e72b7113c891e4e28d432d4b459c02e88efb.tar.gz linux-4409e72b7113c891e4e28d432d4b459c02e88efb.tar.bz2 linux-4409e72b7113c891e4e28d432d4b459c02e88efb.zip |
iwlwifi: mvm: print base HW address during init
It's sometimes hard to find out which HW address the iwlwifi device is
using, for instance when reading crouded sniffer logs. To make it
easier, print out an info level message with the HW address as soon as
we know it.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/nvm.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/nvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c b/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c index efdcffbaac6f..dac7e542a190 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c @@ -599,6 +599,8 @@ int iwl_mvm_nvm_get_from_fw(struct iwl_mvm *mvm) goto err_free; } + IWL_INFO(trans, "base HW address: %pM\n", mvm->nvm_data->hw_addr); + /* Initialize general data */ mvm->nvm_data->nvm_version = le16_to_cpu(rsp->general.nvm_version); |