qcacld-3.0: Remove sme_set_freq_band()

Function sme_set_freq_band() is not used. Since it is apparently
obsolete, remove it.

Change-Id: I41eeda85754a4d2cb1971dd53eb07a86e5ff4b87
CRs-Fixed: 2339196
This commit is contained in:
Jeff Johnson
2018-10-25 10:12:16 -07:00
committed by nshrivas
parent 9516c11ecd
commit 6885e9c64a
2 changed files with 0 additions and 25 deletions

View File

@@ -661,8 +661,6 @@ QDF_STATUS sme_8023_multicast_list(tHalHandle hHal, uint8_t sessionId,
tpSirRcvFltMcAddrList pMulticastAddrs); tpSirRcvFltMcAddrList pMulticastAddrs);
#endif /* WLAN_FEATURE_PACKET_FILTERING */ #endif /* WLAN_FEATURE_PACKET_FILTERING */
bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel); 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); QDF_STATUS sme_get_freq_band(tHalHandle hHal, enum band_info *pBand);
uint16_t sme_chn_to_freq(uint8_t chanNum); uint16_t sme_chn_to_freq(uint8_t chanNum);
bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel); bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel);

View File

@@ -5801,29 +5801,6 @@ bool sme_is_channel_valid(tHalHandle hHal, uint8_t channel)
return valid; 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() - * sme_get_freq_band() -
* Used to get the current band settings. * Used to get the current band settings.