瀏覽代碼

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;