Переглянути джерело

iwlwifi: mvm: call to pcie_apply_destination also on family 8000 B step

In order to config the FW and to allocate monitor buffer driver should
run the function iwl_pcie_apply_destination immediately after FW sections
are loaded.

Signed-off-by: Eran Harary <eran.harary@intel.com>
Reviewed-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Eran Harary 10 роки тому
батько
коміт
ff29862464
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      drivers/net/wireless/iwlwifi/pcie/trans.c

+ 3 - 0
drivers/net/wireless/iwlwifi/pcie/trans.c

@@ -908,6 +908,9 @@ static int iwl_pcie_load_given_ucode_8000b(struct iwl_trans *trans,
 	if (ret)
 		return ret;
 
+	if (trans->dbg_dest_tlv)
+		iwl_pcie_apply_destination(trans);
+
 	/* Notify FW loading is done */
 	iwl_write_direct32(trans, FH_UCODE_LOAD_STATUS, 0xFFFFFFFF);