qcacmn: Send WMI cmd only on completion of wmi_init

Call WMI cmd to set btcoex only on successful completion of WMI init.

Change-Id: Ifd911f7729fd47f6ff2ad1c3e8b16f53db5689e4
CRs-Fixed: 2208266
此提交包含在:
Santosh Anbu
2018-03-22 17:22:03 +05:30
提交者 nshrivas
父節點 33a8822118
當前提交 929e1e9760

查看文件

@@ -160,7 +160,6 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
} else {
target_if_info("Wait for EXT message");
}
target_if_btcoex_cfg_enable(psoc, tgt_hdl, event);
exit:
return err_code;
@@ -427,6 +426,7 @@ static int init_deinit_ready_event_handler(ol_scn_t scn_handle,
}
out:
target_if_btcoex_cfg_enable(psoc, tgt_hdl, event);
tgt_hdl->info.wmi_ready = TRUE;
init_deinit_wakeup_host_wait(psoc, tgt_hdl);