From 13386da460600d9a56eba6a65f4ffb4793a4be49 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 9 Jun 2018 23:55:41 -0700 Subject: [PATCH] qcacld-3.0: Fix csr_is_pmf_capabilities_in_rsn_match() param Currently csr_is_pmf_capabilities_in_rsn_match() takes a tHalHandle context param. However csr is internal to the UMAC, and hence it should be using the "real" context pointer type tpAniSirGlobal instead of the opaque reference tHalHandle, so update the API to expect tpAniSirGlobal. Change-Id: Ie13e86dac694bc1c17305f12aeb817387cc7c4bd CRs-Fixed: 2266509 --- core/sme/src/csr/csr_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 547a7ac1050b..e4d246d86cae 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -3603,7 +3603,7 @@ end: #ifdef WLAN_FEATURE_11W /** * csr_is_pmf_capabilities_in_rsn_match() - check for PMF capability - * @hHal: Global HAL handle + * @mac: Global MAC Context * @pFilterMFPEnabled: given by supplicant to us to specify what kind * of connection supplicant is expecting to make * if it is enabled then make PMF connection. @@ -3627,7 +3627,7 @@ end: * to make connection with it. Else we will return false **/ static bool -csr_is_pmf_capabilities_in_rsn_match(tHalHandle hHal, +csr_is_pmf_capabilities_in_rsn_match(tpAniSirGlobal mac, bool *pFilterMFPEnabled, uint8_t *pFilterMFPRequired, uint8_t *pFilterMFPCapable,