瀏覽代碼

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
Jeff Johnson 6 年之前
父節點
當前提交
e0349a053a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/sme/src/common/sme_api.c

+ 1 - 1
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);