mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
cnss2: Download qdss cfg file at end of fw mem ready handler
Download qdss cfg file at end of fw mem ready handler instead of downloading cfg file after fw init done. Wlan fw expects qdss mem req/resp from host before mode on request from it. Wlan fw will wait for qdss memory sync qmi exchange from host before sending fw init done to it to avoid receiving qdss memory sync after mode on request. Change-Id: If4e752c398821a5cdfeb1b5aeaf735f1973b5635 Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
This commit is contained in:
parent
be60e6e783
commit
e67f869ac6
1 changed files with 3 additions and 3 deletions
|
|
@ -448,6 +448,9 @@ static int cnss_fw_mem_ready_hdlr(struct cnss_plat_data *plat_priv)
|
|||
if (ret)
|
||||
goto out;
|
||||
|
||||
if (cnss_wlfw_qdss_dnld_send_sync(plat_priv))
|
||||
cnss_pr_info("Failed to download qdss configuration file");
|
||||
|
||||
return 0;
|
||||
out:
|
||||
return ret;
|
||||
|
|
@ -538,9 +541,6 @@ static int cnss_fw_ready_hdlr(struct cnss_plat_data *plat_priv)
|
|||
|
||||
cnss_wlfw_send_pcie_gen_speed_sync(plat_priv);
|
||||
|
||||
if (cnss_wlfw_qdss_dnld_send_sync(plat_priv))
|
||||
cnss_pr_info("Failed to download qdss configuration file");
|
||||
|
||||
if (test_bit(CNSS_FW_BOOT_RECOVERY, &plat_priv->driver_state)) {
|
||||
clear_bit(CNSS_FW_BOOT_RECOVERY, &plat_priv->driver_state);
|
||||
clear_bit(CNSS_DRIVER_RECOVERY, &plat_priv->driver_state);
|
||||
|
|
|
|||
Loading…
Reference in a new issue