Parcourir la source

qcacld-3.0: Remove sme_roam_get_wps_session_overlap()

Change "qcacld-3.0: Remove wlansap_*_wps_session_overlap()"
(Change-Id: Ib36fe420478ea9a5c5485a4cff6b5bd01d2a51f5) removed the
only caller of sme_roam_get_wps_session_overlap(). Since this function
is now unused, remove it.

Change-Id: I6480bbefe5ee1e74d5ce8b5d488899dedf4a33df
CRs-Fixed: 2134947
Jeff Johnson il y a 7 ans
Parent
commit
0b915a5af7
2 fichiers modifiés avec 0 ajouts et 44 suppressions
  1. 0 4
      core/sme/inc/sme_api.h
  2. 0 40
      core/sme/src/common/sme_api.c

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

@@ -333,10 +333,6 @@ QDF_STATUS sme_roam_disconnect_sta(tHalHandle hHal, uint8_t sessionId,
 		struct tagCsrDelStaParams *p_del_sta_params);
 QDF_STATUS sme_roam_deauth_sta(tHalHandle hHal, uint8_t sessionId,
 		struct tagCsrDelStaParams *pDelStaParams);
-QDF_STATUS sme_roam_get_wps_session_overlap(tHalHandle hHal, uint8_t sessionId,
-		void *pUsrContext,
-		void *pfnSapEventCallback,
-		struct qdf_mac_addr pRemoveMac);
 QDF_STATUS sme_roam_get_connect_state(tHalHandle hHal, uint8_t sessionId,
 		eCsrConnectState *pState);
 QDF_STATUS sme_roam_get_connect_profile(tHalHandle hHal, uint8_t sessionId,

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

@@ -3639,46 +3639,6 @@ QDF_STATUS sme_roam_get_associated_stas(tHalHandle hHal, uint8_t sessionId,
 	return status;
 }
 
-/*
- * sme_roam_get_wps_session_overlap() -
- * To get the WPS PBC session overlap information.
- * This is an asynchronous API.
- *
- * sessionId    - sessionId of SoftAP
- * pUsrContext  - Opaque HDD context
- * pfnSapEventCallback  - Sap event callback in HDD
- * pRemoveMac - pointer to Mac address which needs to be removed from session
- * Return QDF_STATUS
- */
-QDF_STATUS sme_roam_get_wps_session_overlap(tHalHandle hHal, uint8_t sessionId,
-					    void *pUsrContext, void
-					    *pfnSapEventCallback,
-					    struct qdf_mac_addr pRemoveMac)
-{
-	QDF_STATUS status = QDF_STATUS_E_FAILURE;
-	tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
-
-	if (NULL == pMac) {
-		QDF_ASSERT(0);
-		return status;
-	}
-
-	status = sme_acquire_global_lock(&pMac->sme);
-	if (QDF_IS_STATUS_SUCCESS(status)) {
-		if (CSR_IS_SESSION_VALID(pMac, sessionId))
-			status = csr_roam_get_wps_session_overlap(pMac,
-								sessionId,
-								 pUsrContext,
-							pfnSapEventCallback,
-								 pRemoveMac);
-		else
-			status = QDF_STATUS_E_INVAL;
-		sme_release_global_lock(&pMac->sme);
-	}
-
-	return status;
-}
-
 /*
  * sme_roam_get_connect_state() -
  * A wrapper function to request CSR to return the current connect state