commit | afd5b1704cb15eabc4358b7b0dd7f33099408eaa | [log] [tgz] |
---|---|---|
author | Sara Sharon <sara.sharon@intel.com> | Tue Mar 01 12:18:22 2016 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Mon Mar 07 13:33:00 2016 +0200 |
tree | 5e1d9e2c485d5f8aa700f857fb7faaa184cb8f38 | |
parent | 91f66a3c672065a3aca387ca7e0028504bb8f457 [diff] |
iwlwifi: refactor the code that reads the MAC address from the NVM It makes it slightly easier to follow. Pass the pointer to the transport which allows to read WFMP_MAC_ADDR_X register only when needed and to use IWL_ERR instead of the less commonly used IWL_ERR_DEV logger macro. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>