From e0349a053a36d9064a0fb17aede4a6438da92352 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 11:31:06 -0700 Subject: [PATCH] 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 --- core/sme/src/common/sme_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 2697c3b098b1..1230113f34b3 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -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);