diff --git a/core/sme/inc/csr_support.h b/core/sme/inc/csr_support.h index 1e9721cb2912..1edd61e9d296 100644 --- a/core/sme/inc/csr_support.h +++ b/core/sme/inc/csr_support.h @@ -266,12 +266,12 @@ bool csr_is_profile_rsn(struct csr_roam_profile *pProfile); /* * If a RSNIE exists in the profile, just use it. Or * else construct one from the BSS Caller allocated memory for pWpaIe and - * guarrantee it can contain a max length WPA IE + * guarantee it can contain a max length WPA IE */ -uint8_t csr_retrieve_rsn_ie(tHalHandle hHal, uint32_t sessionId, - struct csr_roam_profile *pProfile, - tSirBssDescription *pSirBssDesc, - tDot11fBeaconIEs *pIes, tCsrRSNIe *pRsnIe); +uint8_t csr_retrieve_rsn_ie(tpAniSirGlobal pMac, uint32_t sessionId, + struct csr_roam_profile *pProfile, + tSirBssDescription *pSirBssDesc, + tDot11fBeaconIEs *pIes, tCsrRSNIe *pRsnIe); #ifdef FEATURE_WLAN_WAPI /* * If a WAPI IE exists in the profile, just use it. diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 3deeecb537ed..083867435f99 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -4662,12 +4662,11 @@ uint8_t csr_retrieve_wpa_ie(tpAniSirGlobal pMac, * one from the BSS Caller allocated memory for pWpaIe and guarrantee * it can contain a max length WPA IE */ -uint8_t csr_retrieve_rsn_ie(tHalHandle hHal, uint32_t sessionId, +uint8_t csr_retrieve_rsn_ie(tpAniSirGlobal pMac, uint32_t sessionId, struct csr_roam_profile *pProfile, tSirBssDescription *pSirBssDesc, tDot11fBeaconIEs *pIes, tCsrRSNIe *pRsnIe) { - tpAniSirGlobal pMac = PMAC_STRUCT(hHal); uint8_t cbRsnIe = 0; do {