summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEran Harary <eran.harary@intel.com>2014-12-11 13:23:01 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-12-28 20:13:40 +0200
commitff2986246471c564ccd7beb02427a32ec7f3f9d5 (patch)
tree62012c1144b8f8302b407bd54118729a3bf90099
parenta1ed4025765cceec180f57eab032c770140d6b8f (diff)
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>
-rw-r--r--drivers/net/wireless/iwlwifi/pcie/trans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c
index daec2f86eec0..09696ca2a654 100644
--- a/drivers/net/wireless/iwlwifi/pcie/trans.c
+++ b/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);