Skip to content
Commit b3f20e09 authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: mvm: fix NVM check for 3168 devices



We had a check on !NVM_EXT and then a check for NVM_SDP in the else
block of this if.  The else block, obviously, could only be reached if
using NVM_EXT, so it would never be NVM_SDP.

Fix that by checking whether the nvm_type is IWL_NVM instead of
checking for !IWL_NVM_EXT to solve this issue.

Reported-by: default avatarStefan Sperling <stsp@stsp.name>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 4f565ee2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment