ソースを参照

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 6 年 前
コミット
13386da460
1 ファイル変更2 行追加2 行削除
  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,