Browse Source

qcacmn: Replace scheduler post msg with scheduler post messsage

Currently many modules use the scheduler_post_msg API which
doesn't allow the driver to know about the src, and destination
modules.

Fix is to call scheduler_post_message which has src, dest, and
the que id.

Change-Id: I6cba6b2f8febb0cb0165af48704de91a893a8b49
CRs-Fixed: 2385912
gaurank kathpalia 6 years ago
parent
commit
1ff1e28d6a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      umac/cmn_services/serialization/src/wlan_serialization_internal.c

+ 4 - 1
umac/cmn_services/serialization/src/wlan_serialization_internal.c

@@ -585,7 +585,10 @@ wlan_serialization_timer_cb_mc_ctx(void *arg)
 	msg.bodyval = 0;
 	msg.flush_callback = wlan_serialization_mc_flush_noop;
 
-	if (scheduler_post_msg(QDF_MODULE_ID_SYS, &msg) == QDF_STATUS_SUCCESS)
+	if (scheduler_post_message(QDF_MODULE_ID_SERIALIZATION,
+				   QDF_MODULE_ID_SERIALIZATION,
+				   QDF_MODULE_ID_SYS, &msg) ==
+							QDF_STATUS_SUCCESS)
 		return;
 
 	ser_err("Could not enqueue timer to timer queue");