mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 13:22:39 -05:00
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:
parent
9516c11ecd
commit
6885e9c64a
2 changed files with 0 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue