ソースを参照

qcacld-3.0: Fix csr_is_bss_description_wme() context param

Currently csr_is_bss_description_wme() 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: I2812f57e57a06a71a81bee20773587fa99189e40
CRs-Fixed: 2266506
Jeff Johnson 6 年 前
コミット
3f9d9fbcd0
1 ファイル変更1 行追加2 行削除
  1. 1 2
      core/sme/src/csr/csr_util.c

+ 1 - 2
core/sme/src/csr/csr_util.c

@@ -1536,11 +1536,10 @@ bool csr_is_ssid_equal(tpAniSirGlobal pMac,
 }
 
 /* pIes can be passed in as NULL if the caller doesn't have one prepared */
-static bool csr_is_bss_description_wme(tHalHandle hHal,
+static bool csr_is_bss_description_wme(tpAniSirGlobal pMac,
 				       tSirBssDescription *pSirBssDesc,
 				       tDot11fBeaconIEs *pIes)
 {
-	tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
 	/* Assume that WME is found... */
 	bool fWme = true;
 	tDot11fBeaconIEs *pIesTemp = pIes;