From: Eran Harary Date: Thu, 11 Dec 2014 11:23:01 +0000 (+0200) Subject: iwlwifi: mvm: call to pcie_apply_destination also on family 8000 B step X-Git-Tag: v4.0-rc1~133^2~130^2~129^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ff2986246471c564ccd7beb02427a32ec7f3f9d5;p=karo-tx-linux.git 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 Reviewed-by: Liad Kaufman Signed-off-by: Emmanuel Grumbach --- 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);