diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-03-21 09:06:45 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-03-21 09:06:45 +0100 |
commit | c5a44f9762a3dc9f06d8b1a536e9b93da5b7fb00 (patch) | |
tree | 4e6699da24d64b294ea007953be5a0a67086cbba /v2_20200128_dmoulding_me_com.patch | |
parent | 81435e544ca98130dc0c05266c4c5e7acea52310 (diff) | |
parent | c5fe8f96488ec3ad2da21e5c0480cbb2de0f562e (diff) | |
download | kernel-c5a44f9762a3dc9f06d8b1a536e9b93da5b7fb00.tar.gz kernel-c5a44f9762a3dc9f06d8b1a536e9b93da5b7fb00.tar.xz kernel-c5a44f9762a3dc9f06d8b1a536e9b93da5b7fb00.zip |
Merge remote-tracking branch 'origin/f31' into f31-user-thl-vanilla-fedora
Diffstat (limited to 'v2_20200128_dmoulding_me_com.patch')
-rw-r--r-- | v2_20200128_dmoulding_me_com.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/v2_20200128_dmoulding_me_com.patch b/v2_20200128_dmoulding_me_com.patch deleted file mode 100644 index 2cb28be39..000000000 --- a/v2_20200128_dmoulding_me_com.patch +++ /dev/null @@ -1,51 +0,0 @@ -From MAILER-DAEMON Mon Feb 24 19:54:49 2020 -From: Dan Moulding <dmoulding@me.com> -To: linux-wireless@vger.kernel.org -Cc: johannes.berg@intel.com, emmanuel.grumbach@intel.com, luciano.coelho@intel.com, linuxwifi@intel.com, Dan Moulding <dmoulding@me.com> -Subject: [PATCH v2 5.5] iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices -Date: Tue, 28 Jan 2020 02:31:07 -0700 -Message-Id: <20200128093107.9740-1-dmoulding@me.com> -Sender: linux-wireless-owner@vger.kernel.org -List-ID: <linux-wireless.vger.kernel.org> -X-Mailing-List: linux-wireless@vger.kernel.org -MIME-Version: 1.0 -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: 7bit - -The logic for checking required NVM sections was recently fixed in -commit b3f20e098293 ("iwlwifi: mvm: fix NVM check for 3168 -devices"). However, with that fixed the else is now taken for 3168 -devices and within the else clause there is a mandatory check for the -PHY_SKU section. This causes the parsing to fail for 3168 devices. - -The PHY_SKU section is really only mandatory for the IWL_NVM_EXT -layout (the phy_sku parameter of iwl_parse_nvm_data is only used when -the NVM type is IWL_NVM_EXT). So this changes the PHY_SKU section -check so that it's only mandatory for IWL_NVM_EXT. - -Fixes: b3f20e098293 ("iwlwifi: mvm: fix NVM check for 3168 devices") -Signed-off-by: Dan Moulding <dmoulding@me.com> ---- -v2: Fixed incorrect commit title in commit references in the commit message - - drivers/net/wireless/intel/iwlwifi/mvm/nvm.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c b/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c -index 46128a2a9c6e..e98ce380c7b9 100644 ---- a/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c -+++ b/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c -@@ -308,7 +308,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; --- -2.24.1 - - |