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
This commit is contained in:
gaurank kathpalia
2019-01-23 11:38:54 +05:30
gecommit door nshrivas
bovenliggende 0f2677d572
commit 1ff1e28d6a

Bestand weergeven

@@ -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");