qcacld-3.0: Pass correct type to csr_msg_processor()

csr_msg_processor() expects a tpAniSirGlobal as the first param but
sme_process_msg() is currently passing a tHalHandle. At the moment a
tpAniSirGlobal and tHalHandle can be freely interchanged, but a future
change will enforce type checking so update sme_process_msg() to pass
a parameter of the expected type.

Change-Id: I12aab9bddd74ae10eb9004a6369210b4998ebfbd
CRs-Fixed: 2265337
This commit is contained in:
Jeff Johnson 2018-06-10 11:31:06 -07:00 • committed by nshrivas
commit e0349a053a

View file

@ -2385,7 +2385,7 @@ QDF_STATUS sme_process_msg(tHalHandle hHal, struct scheduler_msg *pMsg)
&& (pMsg->type <= eWNI_SME_MSG_TYPES_END)) {
/* CSR */
if (pMsg->bodyptr) {
status = csr_msg_processor(hHal, pMsg->bodyptr);
status = csr_msg_processor(pMac, pMsg->bodyptr);
qdf_mem_free(pMsg->bodyptr);
} else
sme_err("Empty message for: %d", pMsg->type);