Преглед изворни кода

qcacld-3.0: Remove obsolete sme_roam_update_apwparsni_es()

Change "qcacld-3.0: Remove obsolete wlansap_set_wparsn_ies()" removed
the last caller of sme_roam_update_apwparsni_es(). Since this function
is unused and obsolete, remove it.

Change-Id: I36d03fc0a8ad24c0b0a2699c008baf83f474a217
CRs-Fixed: 2114957
Jeff Johnson пре 7 година
родитељ
комит
587285add5
2 измењених фајлова са 0 додато и 32 уклоњено
  1. 0 2
      core/sme/inc/sme_api.h
  2. 0 30
      core/sme/src/common/sme_api.c

+ 0 - 2
core/sme/inc/sme_api.h

@@ -503,8 +503,6 @@ QDF_STATUS sme_oem_get_capability(tHalHandle hHal,
 #endif /*FEATURE_OEM_DATA_SUPPORT */
 QDF_STATUS sme_roam_update_apwpsie(tHalHandle, uint8_t sessionId,
 		tSirAPWPSIEs * pAPWPSIES);
-QDF_STATUS sme_roam_update_apwparsni_es(tHalHandle hHal, uint8_t sessionId,
-		tSirRSNie *pAPSirRSNie);
 QDF_STATUS sme_change_mcc_beacon_interval(uint8_t sessionId);
 QDF_STATUS sme_set_host_offload(tHalHandle hHal, uint8_t sessionId,
 		tpSirHostOffloadReq pRequest);

+ 0 - 30
core/sme/src/common/sme_api.c

@@ -5652,36 +5652,6 @@ QDF_STATUS sme_roam_update_apwpsie(tHalHandle hHal, uint8_t sessionId,
 	return status;
 }
 
-/*
- * sme_roam_update_apwparsni_es() -
- * To update AP's WPA/RSN IEs. This function should be called after SME AP
- * session is created
- *   This is an asynchronous API.
- *
- * pAPSirRSNie - pointer to a caller allocated object of tSirRSNie with
- * WPS/RSN IEs
- * Return QDF_STATUS – SUCCESS –
- * FAILURE or RESOURCES – The API finished and failed.
- */
-QDF_STATUS sme_roam_update_apwparsni_es(tHalHandle hHal, uint8_t sessionId,
-					tSirRSNie *pAPSirRSNie)
-{
-
-	QDF_STATUS status = QDF_STATUS_E_FAILURE;
-	tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
-
-	status = sme_acquire_global_lock(&pMac->sme);
-	if (QDF_IS_STATUS_SUCCESS(status)) {
-
-		status = csr_roam_update_wparsni_es(pMac, sessionId,
-						pAPSirRSNie);
-
-		sme_release_global_lock(&pMac->sme);
-	}
-
-	return status;
-}
-
 /*
  * sme_change_mcc_beacon_interval() -
  * To update P2P-GO beaconInterval. This function should be called after