qcacmn: Add src, and dst id support in SCHEDULER

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: I795f5d714eebcdbb275daae782ffa6f4d8e7e950
CRs-Fixed: 2306019
This commit is contained in:
gaurank kathpalia 2018-08-28 20:11:25 +05:30 • committed by nshrivas
commit 8b7e2ee372

View file

@ -628,7 +628,9 @@ void scheduler_mc_timer_callback(unsigned long data)
/* bodyptr points to user data, do not free it during msg flush */
msg.flush_callback = scheduler_msg_flush_noop;
status = scheduler_post_msg(QDF_MODULE_ID_SYS, &msg);
status = scheduler_post_message(QDF_MODULE_ID_SCHEDULER,
QDF_MODULE_ID_SCHEDULER,
QDF_MODULE_ID_SYS, &msg);
if (QDF_IS_STATUS_ERROR(status))
sched_err("Could not enqueue timer to timer queue");
}