Преглед изворни кода

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
gaurank kathpalia пре 6 година
родитељ
комит
8b7e2ee372
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      scheduler/src/scheduler_api.c

+ 3 - 1
scheduler/src/scheduler_api.c

@@ -628,7 +628,9 @@ void scheduler_mc_timer_callback(unsigned long data)
 	/* bodyptr points to user data, do not free it during msg flush */
 	/* bodyptr points to user data, do not free it during msg flush */
 	msg.flush_callback = scheduler_msg_flush_noop;
 	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))
 	if (QDF_IS_STATUS_ERROR(status))
 		sched_err("Could not enqueue timer to timer queue");
 		sched_err("Could not enqueue timer to timer queue");
 }
 }