diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index 5db9ddc01024..e756220bfed2 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -687,7 +687,6 @@ QDF_STATUS sme_configure_app_type1_params(mac_handle_t mac_handle, QDF_STATUS sme_configure_app_type2_params(mac_handle_t mac_handle, tpSirAppType2Params wlanAppType2Params); #endif -int8_t sme_get_infra_session_id(mac_handle_t mac_handle); uint8_t sme_get_concurrent_operation_channel(mac_handle_t mac_handle); #ifdef FEATURE_WLAN_MCC_TO_SCC_SWITCH uint16_t sme_check_concurrent_channel_overlap(mac_handle_t mac_handle, diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 4f34066963ba..ad036e4acd90 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -5130,32 +5130,7 @@ QDF_STATUS sme_configure_app_type2_params(mac_handle_t mac_handle, } #endif -/* - * sme_get_infra_session_id - * To get the session ID for infra session, if connected - * This is a synchronous API. - * - * mac_handle - The handle returned by mac_open. - * sessionid, -1 if infra session is not connected - */ -int8_t sme_get_infra_session_id(mac_handle_t mac_handle) -{ - QDF_STATUS status = QDF_STATUS_E_FAILURE; - int8_t sessionid = -1; - struct mac_context *mac = MAC_CONTEXT(mac_handle); - - status = sme_acquire_global_lock(&mac->sme); - if (QDF_IS_STATUS_SUCCESS(status)) { - - sessionid = csr_get_infra_session_id(mac); - - sme_release_global_lock(&mac->sme); - } - - return sessionid; -} - -/* This routine will return poerating channel on which other BSS is operating +/* This routine will return operating channel on which other BSS is operating * to be used for concurrency mode. If other BSS is not up or not connected it * will return 0 */