diff --git a/core/sme/inc/csr_support.h b/core/sme/inc/csr_support.h index 3c360c8b88a4..00918d77cb08 100644 --- a/core/sme/inc/csr_support.h +++ b/core/sme/inc/csr_support.h @@ -249,7 +249,8 @@ bool csr_is_profile_wapi(struct csr_roam_profile *pProfile); * Or else construct one from the BSS Caller allocated memory for pWpaIe and * guarrantee it can contain a max length WPA IE */ -uint8_t csr_retrieve_wpa_ie(tHalHandle hHal, struct csr_roam_profile *pProfile, +uint8_t csr_retrieve_wpa_ie(tpAniSirGlobal pMac, + struct csr_roam_profile *pProfile, tSirBssDescription *pSirBssDesc, tDot11fBeaconIEs *pIes, tCsrWpaIe *pWpaIe); diff --git a/core/sme/src/csr/csr_util.c b/core/sme/src/csr/csr_util.c index 63cce5159f75..8c2522ab881d 100644 --- a/core/sme/src/csr/csr_util.c +++ b/core/sme/src/csr/csr_util.c @@ -4630,11 +4630,11 @@ uint8_t csr_construct_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_wpa_ie(tHalHandle hHal, struct csr_roam_profile *pProfile, +uint8_t csr_retrieve_wpa_ie(tpAniSirGlobal pMac, + struct csr_roam_profile *pProfile, tSirBssDescription *pSirBssDesc, tDot11fBeaconIEs *pIes, tCsrWpaIe *pWpaIe) { - tpAniSirGlobal pMac = PMAC_STRUCT(hHal); uint8_t cbWpaIe = 0; do {