diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index 80be7deb2ed7..cf10ec7b2c3d 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -661,8 +661,6 @@ QDF_STATUS sme_8023_multicast_list(tHalHandle hHal, uint8_t sessionId, tpSirRcvFltMcAddrList pMulticastAddrs); #endif /* WLAN_FEATURE_PACKET_FILTERING */ bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel); -QDF_STATUS sme_set_freq_band(tHalHandle hHal, uint8_t sessionId, - enum band_info eBand); QDF_STATUS sme_get_freq_band(tHalHandle hHal, enum band_info *pBand); uint16_t sme_chn_to_freq(uint8_t chanNum); bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel); diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index 57dc990a327e..7ef2f3dadbd3 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -5801,29 +5801,6 @@ bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel) return valid; } -/* - * sme_set_freq_band() - - * Used to set frequency band. - * - * hHal - * sessionId - Session Identifier - * band value to be configured - * Return QDF_STATUS - */ -QDF_STATUS sme_set_freq_band(tHalHandle hHal, uint8_t sessionId, - enum band_info eBand) -{ - QDF_STATUS status = QDF_STATUS_E_FAILURE; - tpAniSirGlobal pMac = PMAC_STRUCT(hHal); - - status = sme_acquire_global_lock(&pMac->sme); - if (QDF_IS_STATUS_SUCCESS(status)) { - status = csr_set_band(hHal, sessionId, eBand); - sme_release_global_lock(&pMac->sme); - } - return status; -} - /* * sme_get_freq_band() - * Used to get the current band settings.