Explorar el Código

qcacld-3.0: Remove sme_get_soft_ap_domain()

Function sme_get_soft_ap_domain() is unused, so remove it.

Change-Id: I23da56f1ab4e6396fc17f3523d4f4640041874dd
CRs-Fixed: 2371150
Jeff Johnson hace 6 años
padre
commit
ab9e396d51
Se han modificado 2 ficheros con 0 adiciones y 32 borrados
  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

@@ -405,8 +405,6 @@ QDF_STATUS sme_update_config(mac_handle_t mac_handle,
 
 QDF_STATUS sme_set11dinfo(mac_handle_t mac_handle,
 			  tpSmeConfigParams pSmeConfigParams);
-QDF_STATUS sme_get_soft_ap_domain(mac_handle_t mac_handle,
-				  v_REGDOMAIN_t *domainIdSoftAp);
 QDF_STATUS sme_hdd_ready_ind(mac_handle_t mac_handle);
 /**
  * sme_ser_cmd_callback() - callback from serialization module

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

@@ -819,36 +819,6 @@ QDF_STATUS sme_set11dinfo(mac_handle_t mac_handle,
 	return status;
 }
 
-/*
- * sme_get_soft_ap_domain() - Get the current regulatory domain of softAp.
- * This is a synchronous call
- *
- * mac_handle - The handle returned by HostapdAdapter.
- * v_REGDOMAIN_t - The current Regulatory Domain requested for SoftAp.
- * Return QDF_STATUS_SUCCESS - SME successfully completed the request.
- *  Other status means, failed to get the current regulatory domain.
- */
-
-QDF_STATUS sme_get_soft_ap_domain(mac_handle_t mac_handle,
-				  v_REGDOMAIN_t *domainIdSoftAp)
-{
-	QDF_STATUS status = QDF_STATUS_E_FAILURE;
-	struct mac_context *mac = MAC_CONTEXT(mac_handle);
-
-	MTRACE(qdf_trace(QDF_MODULE_ID_SME,
-			 TRACE_CODE_SME_RX_HDD_MSG_GET_SOFTAP_DOMAIN,
-			 NO_SESSION, 0));
-	if (NULL == domainIdSoftAp) {
-		sme_err("Uninitialized domain Id");
-		return status;
-	}
-
-	*domainIdSoftAp = mac->scan.domainIdCurrent;
-	status = QDF_STATUS_SUCCESS;
-
-	return status;
-}
-
 /**
  * sme_update_fine_time_measurement_capab() - Update the FTM capabitlies from
  * incoming val