diff --git a/core/sme/inc/sme_api.h b/core/sme/inc/sme_api.h index 3250379721a5..ac4368a5f49c 100644 --- a/core/sme/inc/sme_api.h +++ b/core/sme/inc/sme_api.h @@ -607,8 +607,6 @@ QDF_STATUS sme_set_plm_request(mac_handle_t mac_handle, tpSirPlmReq pPlm); #endif /*FEATURE_WLAN_ESE */ QDF_STATUS sme_cfg_set_int(mac_handle_t mac_handle, uint16_t cfg_id, uint32_t value); -QDF_STATUS sme_cfg_set_str(mac_handle_t mac_handle, uint16_t cfg_id, - uint8_t *str, uint32_t length); QDF_STATUS sme_cfg_get_int(mac_handle_t mac_handle, uint16_t cfg_id, uint32_t *cfg_value); QDF_STATUS sme_cfg_get_str(mac_handle_t mac_handle, uint16_t cfg_id, diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index fa92c3b0a1d2..fef28741c128 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -3710,29 +3710,6 @@ QDF_STATUS sme_cfg_set_int(mac_handle_t mac_handle, uint16_t cfg_id, return status; } -/** - * sme_cfg_set_str() - Sets the cfg parameter string. - * @mac_handle: Opaque handle to the global MAC context. - * @cfg_id: Configuration parameter ID. - * @str: Pointer to the string buffer. - * @length: Length of the string. - * - * This function sets the string value in cfg parameter. - * - * Return: QDF_STATUS - */ -QDF_STATUS sme_cfg_set_str(mac_handle_t mac_handle, uint16_t cfg_id, - uint8_t *str, uint32_t length) -{ - struct mac_context *pmac = MAC_CONTEXT(mac_handle); - QDF_STATUS status = QDF_STATUS_SUCCESS; - - if (QDF_STATUS_SUCCESS != cfg_set_str(pmac, cfg_id, str, length)) - status = QDF_STATUS_E_FAILURE; - - return status; -} - /** * sme_cfg_get_int() - Gets the cfg parameter value. * @mac_handle: Opaque handle to the global MAC context.