qcacld-3.0: Add src, and dst id support in PE
In the scheduler_post_message, src_id is now added to
know the source module of the msg. the present scheduler
doesn't know about the same which is scheduler_post_msg
Replace the scheduler_post_msg with scheduler_post_message
Change-Id: Iaa595f9676d469bef8e4d2e284c0b1d14c2321eb
CRs-Fixed: 2305979
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 50c44f4..f2daddf 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -1169,7 +1169,9 @@
pSirMgmtTxCompletionInd->psoc = pMac->psoc;
mmhMsg.callback = tgt_tdls_send_mgmt_tx_completion;
- scheduler_post_msg(QDF_MODULE_ID_TARGET_IF, &mmhMsg);
+ scheduler_post_message(QDF_MODULE_ID_PE,
+ QDF_MODULE_ID_TDLS,
+ QDF_MODULE_ID_TARGET_IF, &mmhMsg);
return;
} /*** end lim_send_sme_tdls_delete_all_peer_ind() ***/
@@ -2499,7 +2501,9 @@
msg.type = eWNI_SME_NSS_UPDATE_RSP;
msg.bodyptr = bcn_tx_comp_rsp;
msg.bodyval = 0;
- status = scheduler_post_msg(QDF_MODULE_ID_SME, &msg);
+ status = scheduler_post_message(QDF_MODULE_ID_PE,
+ QDF_MODULE_ID_SME,
+ QDF_MODULE_ID_SME, &msg);
if (QDF_IS_STATUS_ERROR(status)) {
sme_err("Failed to post eWNI_SME_NSS_UPDATE_RSP");
qdf_mem_free(bcn_tx_comp_rsp);