]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: check for valid ethernet address provided by OEM
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Tue, 2 Aug 2016 12:28:23 +0000 (15:28 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 19 Sep 2016 07:09:27 +0000 (10:09 +0300)
commita6c934b364948cd4de5bd9ab055bb65206ec70f3
tree6a98a6156e6f8c9d4a5a7f538d17dfcd7ced2b58
parent91b08c2da4b1b89c265d4c68354b1ef3564a9eeb
iwlwifi: check for valid ethernet address provided by OEM

In 9000 family products we added an option to let the OEM fuse the
mac address via registers. If these registers are zeroed we use the OTP
address instead. Make sure that the address provided by the OEM is valid
and, if not, fall back to the OTP address as well.

Fixes: commit 17c867bfe89b ("iwlwifi: add support for getting HW address from CSR")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c