Explorar o código

qcacld-3.0: Remove obsolete sme_roam_update_apwpsie()

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

Change-Id: I71ec6d5dd22d427507658cf26582e69bd0751d7f
CRs-Fixed: 2115346
Jeff Johnson %!s(int64=7) %!d(string=hai) anos
pai
achega
9f197dee17
Modificáronse 2 ficheiros con 0 adicións e 30 borrados
  1. 0 2
      core/sme/inc/sme_api.h
  2. 0 28
      core/sme/src/common/sme_api.c

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

@@ -499,8 +499,6 @@ QDF_STATUS sme_oem_update_capability(tHalHandle hHal,
 QDF_STATUS sme_oem_get_capability(tHalHandle hHal,
 				  struct sme_oem_capability *cap);
 #endif /*FEATURE_OEM_DATA_SUPPORT */
-QDF_STATUS sme_roam_update_apwpsie(tHalHandle, uint8_t sessionId,
-		tSirAPWPSIEs * pAPWPSIES);
 QDF_STATUS sme_change_mcc_beacon_interval(uint8_t sessionId);
 QDF_STATUS sme_set_host_offload(tHalHandle hHal, uint8_t sessionId,
 		tpSirHostOffloadReq pRequest);

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

@@ -5590,34 +5590,6 @@ QDF_STATUS sme_close_session(tHalHandle hHal, uint8_t sessionId,
 	return status;
 }
 
-/*
- * sme_roam_update_apwpsie() -
- * To update AP's WPS IE. This function should be called after SME AP session is
- * created
- *   This is an asynchronous API.
- *
- * pAPWPSIES - pointer to a caller allocated object of tSirAPWPSIEs
- * Return QDF_STATUS – SUCCESS –
- * FAILURE or RESOURCES – The API finished and failed.
- */
-QDF_STATUS sme_roam_update_apwpsie(tHalHandle hHal, uint8_t sessionId,
-				   tSirAPWPSIEs *pAPWPSIES)
-{
-
-	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_apwpsie(pMac, sessionId, pAPWPSIES);
-
-		sme_release_global_lock(&pMac->sme);
-	}
-
-	return status;
-}
-
 /*
  * sme_change_mcc_beacon_interval() -
  * To update P2P-GO beaconInterval. This function should be called after