diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index e756220bfed2..1905fd18ec11 100644 --- a/core/sme/inc/sme_api.h +++ b/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 diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index ad036e4acd90..55499ea20291 100644 --- a/core/sme/src/common/sme_api.c +++ b/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