mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
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:
parent
fdecd51166
commit
e0349a053a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue