diff --git a/core/cds/inc/cds_utils.h b/core/cds/inc/cds_utils.h index 001aaa20ff42..b81e9b89942e 100644 --- a/core/cds/inc/cds_utils.h +++ b/core/cds/inc/cds_utils.h @@ -109,14 +109,6 @@ uint32_t cds_chan_to_freq(uint8_t chan); uint8_t cds_freq_to_chan(uint32_t freq); enum cds_band_type cds_chan_to_band(uint32_t chan); -/** - * cds_upper_to_lower: API to convert upper case string into lower case - * @txt: input text - * @length: length of input string - * - * Return: None - */ -void cds_upper_to_lower(uint8_t *txt, uint32_t length); #ifdef WLAN_FEATURE_11W bool cds_is_mmie_valid(uint8_t *key, uint8_t *ipn, uint8_t *frm, uint8_t *efrm); diff --git a/core/cds/src/cds_utils.c b/core/cds/src/cds_utils.c index 428f8bd93093..de0d024f32c7 100644 --- a/core/cds/src/cds_utils.c +++ b/core/cds/src/cds_utils.c @@ -659,16 +659,6 @@ uint8_t cds_freq_to_chan(uint32_t freq) return chan; } -void cds_upper_to_lower(uint8_t *txt, uint32_t length) -{ - int i; - - for (i = 0; i < length; i++) { - if (txt[i] >= 'A' && txt[i] <= 'Z') - txt[i] = txt[i] + 32; - } -} - enum cds_band_type cds_chan_to_band(uint32_t chan) { if (chan <= CDS_24_GHZ_CHANNEL_14)