From 3f9d9fbcd0d9c4e5ef33dac76399e99bbca7b699 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 9 Jun 2018 23:53:16 -0700 Subject: [PATCH] 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 --- core/sme/src/csr/csr_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 6d3298a366dc..547a7ac1050b 100644 --- a/core/sme/src/csr/csr_util.c +++ b/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;