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
This commit is contained in:
Jeff Johnson 2018-12-19 13:12:57 -08:00 • committed by nshrivas
commit ab9e396d51
2 changed files with 0 additions and 32 deletions

View file

@ -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

View file

@ -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