]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices
[mirror_ubuntu-bionic-kernel.git] / drivers / net / wireless / intel / iwlwifi / mvm / nvm.c
index dad099e36021b9c1dfcd065d56a0e2b8ef85623f..7cc0136b0b5e51343f9ddd8a8be8d2fdbcd13df0 100644 (file)
@@ -327,7 +327,8 @@ iwl_parse_nvm_sections(struct iwl_mvm *mvm)
                }
 
                /* PHY_SKU section is mandatory in B0 */
-               if (!mvm->nvm_sections[NVM_SECTION_TYPE_PHY_SKU].data) {
+               if (mvm->trans->cfg->nvm_type == IWL_NVM_EXT &&
+                   !mvm->nvm_sections[NVM_SECTION_TYPE_PHY_SKU].data) {
                        IWL_ERR(mvm,
                                "Can't parse phy_sku in B0, empty sections\n");
                        return NULL;