]> git.baikalelectronics.ru Git - kernel.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)
commit1240a4bec9dd84727072e6b04d57eb03c920cd6e
tree6a98a6156e6f8c9d4a5a7f538d17dfcd7ced2b58
parentcc535d36d3495a1203320f5ef2366f501c7731ab
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 f6c561ff2d6e ("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