qcacld-3.0: Remove pStaWapiReqIE from the SAP context

Currently the SAP has logic to extract and locally save the WAPI
IE. But this is legacy code inherited from a version of the driver
that supported in-driver WAPI, and now the SAP WAPI functionality is
handled by hostapd. Since this local copy of the WAPI IE is never
used, remove it.

Change-Id: I57cad0d8e44ff1ca5a7a61454a21aac61bf873c0
CRs-Fixed: 2114153
This commit is contained in:
Jeff Johnson
2017-09-21 09:21:18 -07:00
committed by pramod kotreshappa
parent 31776f8b90
commit dba35543b8
2 changed files with 0 additions and 11 deletions

View File

@@ -803,12 +803,6 @@ wlansap_roam_process_infra_assoc_ind(struct sap_context *sap_ctx,
if (sap_ctx->nStaWPARSnReqIeLength)
qdf_mem_copy(sap_ctx->pStaWpaRsnReqIE, csr_roam_info->prsnIE,
sap_ctx->nStaWPARSnReqIeLength);
#ifdef FEATURE_WLAN_WAPI
sap_ctx->nStaWAPIReqIeLength = csr_roam_info->wapiIELen;
if (sap_ctx->nStaWAPIReqIeLength)
qdf_mem_copy(sap_ctx->pStaWapiReqIE, csr_roam_info->pwapiIE,
sap_ctx->nStaWAPIReqIeLength);
#endif
sap_ctx->nStaAddIeLength = csr_roam_info->addIELen;
if (sap_ctx->nStaAddIeLength)
qdf_mem_copy(sap_ctx->pStaAddIE, csr_roam_info->paddIE,

View File

@@ -193,11 +193,6 @@ struct sap_context {
uint8_t pStaWpaRsnReqIE[MAX_ASSOC_IND_IE_LEN];
tSirRSNie APWPARSNIEs;
#ifdef FEATURE_WLAN_WAPI
uint32_t nStaWAPIReqIeLength;
uint8_t pStaWapiReqIE[MAX_ASSOC_IND_IE_LEN];
#endif
uint32_t nStaAddIeLength;
uint8_t pStaAddIE[MAX_ASSOC_IND_IE_LEN];
uint8_t *channelList;