]> 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)
commitc728ccdad98d2694dc193941c3bf8be1e9e6d9ca
tree6a98a6156e6f8c9d4a5a7f538d17dfcd7ced2b58
parent06e707dcb760bda04a018a7cfa4fd8eb1883f20b
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 554770fdb45f ("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