Parcourir la source

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
Jeff Johnson il y a 6 ans
Parent
commit
13386da460
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      core/sme/src/csr/csr_util.c

+ 2 - 2
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,