]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iwlwifi: mvm: support fw reading empty OTP
authorLiad Kaufman <liad.kaufman@intel.com>
Mon, 5 Jun 2017 13:39:39 +0000 (16:39 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 1 Aug 2017 09:41:45 +0000 (12:41 +0300)
commitf6aa45f67aaa03bd294040508218bc72c5958ad6
tree6d1e4147d78e6114603bb04ca5628ff79014d8f0
parentc1b68c194ed72a5df55e7344b19c50ccb357f690
iwlwifi: mvm: support fw reading empty OTP

If the OTP is empty, the NVM_GET_INFO command returns
with flags' bit(0) on. This means the FW returns the
default values for working with. This is allowed, so
use this returned data.

Fixes: e9e1ba3dbf00 ("iwlwifi: mvm: support getting nvm data from firmware")
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h
drivers/net/wireless/intel/iwlwifi/mvm/nvm.c