qcacld-3.0: Fix LIM message posting API definition and usage
Currently lim_post_msg_api() and lim_post_msg_high_priority() are
defined to return a uint32_t status. This is an artifact of many
generations of driver changes. These functions now return QDF_STATUS,
so update the signatures as well as all callers to properly expect
this return type. In addition remove the legacy wrapper function
pe_post_msg_api() since it is unused.
Change-Id: I00f991d64e3542336526e7ed2ca36e4112918cb7
CRs-Fixed: 2271548
diff --git a/core/mac/src/pe/lim/lim_process_cfg_updates.c b/core/mac/src/pe/lim/lim_process_cfg_updates.c
index b1a0575..a572659 100644
--- a/core/mac/src/pe/lim/lim_process_cfg_updates.c
+++ b/core/mac/src/pe/lim/lim_process_cfg_updates.c
@@ -130,7 +130,7 @@
void lim_handle_param_update(tpAniSirGlobal pMac, eUpdateIEsType cfgId)
{
struct scheduler_msg msg = { 0 };
- uint32_t status;
+ QDF_STATUS status;
pe_debug("Handling CFG parameter id %X update", cfgId);
@@ -140,7 +140,7 @@
msg.type = SIR_LIM_UPDATE_BEACON;
status = lim_post_msg_api(pMac, &msg);
- if (status != TX_SUCCESS)
+ if (status != QDF_STATUS_SUCCESS)
pe_err("Failed lim_post_msg_api %u", status);
break;
}