qcacld-3.0: Rename mlme log macros

MLME log macros like mlme_debug, mlme_err, mlme_info are having same
definition in legacy and common code. To avoid this redefination,
lagacy MLME log macros are renamed.

Change-Id: I71fbbcd1f74df73e82b799b318a9e9a95a3cb0c8
CRs-Fixed: 2446535
This commit is contained in:
Abhishek Ambure
2019-05-03 12:38:42 +05:30
committed by nshrivas
parent 19dbfeb163
commit ec00007647
5 changed files with 174 additions and 148 deletions

View File

@@ -33,7 +33,7 @@ QDF_STATUS wlan_mlme_get_cfg_str(uint8_t *dst, struct mlme_cfg_str *cfg_str,
qdf_size_t *len)
{
if (*len < cfg_str->len) {
mlme_err("Invalid len %zd", *len);
mlme_legacy_err("Invalid len %zd", *len);
return QDF_STATUS_E_INVAL;
}
@@ -47,8 +47,8 @@ QDF_STATUS wlan_mlme_set_cfg_str(uint8_t *src, struct mlme_cfg_str *dst_cfg_str,
qdf_size_t len)
{
if (len > dst_cfg_str->max_len) {
mlme_err("Invalid len %zd (>%zd)", len,
dst_cfg_str->max_len);
mlme_legacy_err("Invalid len %zd (>%zd)", len,
dst_cfg_str->max_len);
return QDF_STATUS_E_INVAL;
}
@@ -143,7 +143,7 @@ QDF_STATUS wlan_mlme_set_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_E_FAILURE;
if (!cfg_in_range(CFG_MAX_AMSDU_NUM, value)) {
mlme_err("Error in setting Max AMSDU Num");
mlme_legacy_err("Error in setting Max AMSDU Num");
return QDF_STATUS_E_INVAL;
}
@@ -176,7 +176,7 @@ QDF_STATUS wlan_mlme_set_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_E_FAILURE;
if (!cfg_in_range(CFG_MPDU_DENSITY, value)) {
mlme_err("Invalid value %d", value);
mlme_legacy_err("Invalid value %d", value);
return QDF_STATUS_E_INVAL;
}
@@ -465,7 +465,8 @@ QDF_STATUS wlan_mlme_cfg_set_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_E_FAILURE;
if (!cfg_in_range(CFG_HE_UL_MUMIMO, value)) {
mlme_debug("Failed to set CFG_HE_UL_MUMIMO with %d", value);
mlme_legacy_debug("Failed to set CFG_HE_UL_MUMIMO with %d",
value);
return QDF_STATUS_E_FAILURE;
}
@@ -849,15 +850,15 @@ QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
if (!mlme_obj)
return QDF_STATUS_E_FAILURE;
mlme_debug("txchainmask1x1: %d rxchainmask1x1: %d",
mlme_obj->cfg.chainmask_cfg.txchainmask1x1,
mlme_obj->cfg.chainmask_cfg.rxchainmask1x1);
mlme_debug("tx_chain_mask_2g: %d, rx_chain_mask_2g: %d",
mlme_obj->cfg.chainmask_cfg.tx_chain_mask_2g,
mlme_obj->cfg.chainmask_cfg.rx_chain_mask_2g);
mlme_debug("tx_chain_mask_5g: %d, rx_chain_mask_5g: %d",
mlme_obj->cfg.chainmask_cfg.tx_chain_mask_5g,
mlme_obj->cfg.chainmask_cfg.rx_chain_mask_5g);
mlme_legacy_debug("txchainmask1x1: %d rxchainmask1x1: %d",
mlme_obj->cfg.chainmask_cfg.txchainmask1x1,
mlme_obj->cfg.chainmask_cfg.rxchainmask1x1);
mlme_legacy_debug("tx_chain_mask_2g: %d, rx_chain_mask_2g: %d",
mlme_obj->cfg.chainmask_cfg.tx_chain_mask_2g,
mlme_obj->cfg.chainmask_cfg.rx_chain_mask_2g);
mlme_legacy_debug("tx_chain_mask_5g: %d, rx_chain_mask_5g: %d",
mlme_obj->cfg.chainmask_cfg.tx_chain_mask_5g,
mlme_obj->cfg.chainmask_cfg.rx_chain_mask_5g);
if (mlme_obj->cfg.chainmask_cfg.txchainmask1x1) {
ch_msk_val = mlme_obj->cfg.chainmask_cfg.txchainmask1x1;
@@ -879,7 +880,7 @@ QDF_STATUS wlan_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
if (mlme_obj->cfg.chainmask_cfg.txchainmask1x1 ||
mlme_obj->cfg.chainmask_cfg.rxchainmask1x1) {
mlme_debug("band agnostic tx/rx chain mask set. skip per band chain mask");
mlme_legacy_debug("band agnostic tx/rx chain mask set. skip per band chain mask");
return QDF_STATUS_SUCCESS;
}
@@ -1956,7 +1957,7 @@ static void wlan_mlme_send_oce_flags_fw(struct wlan_objmgr_pdev *pdev,
if (wlan_vdev_mlme_get_opmode(vdev) == QDF_STA_MODE) {
dynamic_fw_value = mlme_get_dynamic_oce_flags(vdev);
if (*updated_fw_value == *dynamic_fw_value) {
mlme_debug("Current FW flags matches with updated value.");
mlme_legacy_debug("Current FW flags matches with updated value.");
return;
}
*dynamic_fw_value = *updated_fw_value;
@@ -1964,7 +1965,7 @@ static void wlan_mlme_send_oce_flags_fw(struct wlan_objmgr_pdev *pdev,
if (wma_cli_set_command(vdev_id,
WMI_VDEV_PARAM_ENABLE_DISABLE_OCE_FEATURES,
*updated_fw_value, VDEV_CMD))
mlme_err("Failed to send OCE update to FW");
mlme_legacy_err("Failed to send OCE update to FW");
}
}
@@ -1991,12 +1992,12 @@ void wlan_mlme_update_oce_flags(struct wlan_objmgr_pdev *pdev)
~(WMI_VDEV_OCE_PROBE_REQUEST_RATE_FEATURE_BITMAP);
updated_fw_value &=
~(WMI_VDEV_OCE_PROBE_REQUEST_DEFERRAL_FEATURE_BITMAP);
mlme_debug("Disable STA OCE probe req rate and defferal updated_fw_value :%d",
updated_fw_value);
mlme_legacy_debug("Disable STA OCE probe req rate and defferal updated_fw_value :%d",
updated_fw_value);
} else {
updated_fw_value = mlme_obj->cfg.oce.feature_bitmap;
mlme_debug("Update the STA OCE flags to default INI updated_fw_value :%d",
updated_fw_value);
mlme_legacy_debug("Update the STA OCE flags to default INI updated_fw_value :%d",
updated_fw_value);
}
wlan_objmgr_pdev_iterate_obj_list(pdev, WLAN_VDEV_OP,
@@ -2357,7 +2358,7 @@ QDF_STATUS wlan_mlme_get_edca_params(struct wlan_mlme_edca_params *edca_params,
wlan_mlme_get_cfg_str(data, &edca_params->etsi_acvo_b, &len);
break;
default:
mlme_err("Invalid edca access category");
mlme_legacy_err("Invalid edca access category");
return QDF_STATUS_E_INVAL;
}
return QDF_STATUS_SUCCESS;
@@ -2372,17 +2373,17 @@ QDF_STATUS mlme_get_wep_key(struct wlan_objmgr_vdev *vdev,
struct wlan_crypto_key *crypto_key = NULL;
if (wep_keyid >= WLAN_CRYPTO_MAXKEYIDX) {
mlme_err("Incorrect wep key index %d", wep_keyid);
mlme_legacy_err("Incorrect wep key index %d", wep_keyid);
return QDF_STATUS_E_INVAL;
}
crypto_key = wlan_crypto_get_key(vdev, wep_keyid);
if (!crypto_key) {
mlme_err("Crypto KEY not present");
mlme_legacy_err("Crypto KEY not present");
return QDF_STATUS_E_INVAL;
}
if (crypto_key->keylen > WLAN_CRYPTO_KEY_WEP104_LEN) {
mlme_err("Key too large to hold");
mlme_legacy_err("Key too large to hold");
return QDF_STATUS_E_INVAL;
}
*key_len = crypto_key->keylen;
@@ -2422,10 +2423,10 @@ QDF_STATUS mlme_get_wep_key(struct wlan_objmgr_vdev *vdev,
break;
default:
mlme_err("Invalid key id:%d", wep_keyid);
mlme_legacy_err("Invalid key id:%d", wep_keyid);
return QDF_STATUS_E_INVAL;
}
mlme_debug("key_id:%d key_len:%zd", wep_keyid, *key_len);
mlme_legacy_debug("key_id:%d key_len:%zd", wep_keyid, *key_len);
return QDF_STATUS_SUCCESS;
}
#endif /* CRYPTO_SET_KEY_CONVERGED */
@@ -2437,7 +2438,8 @@ QDF_STATUS mlme_set_wep_key(struct wlan_mlme_wep_cfg *wep_params,
if (len == 0)
return QDF_STATUS_E_FAILURE;
mlme_debug("WEP set key for key_id:%d key_len:%zd", wep_keyid, len);
mlme_legacy_debug("WEP set key for key_id:%d key_len:%zd",
wep_keyid, len);
switch (wep_keyid) {
case MLME_WEP_DEFAULT_KEY_1:
wlan_mlme_set_cfg_str(key_to_set,
@@ -2464,7 +2466,7 @@ QDF_STATUS mlme_set_wep_key(struct wlan_mlme_wep_cfg *wep_params,
break;
default:
mlme_err("Invalid key id:%d", wep_keyid);
mlme_legacy_err("Invalid key id:%d", wep_keyid);
return QDF_STATUS_E_INVAL;
}
@@ -3300,7 +3302,7 @@ wlan_mlme_get_self_gen_frm_pwr(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*value = cfg_default(CFG_SELF_GEN_FRM_PWR);
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_FAILURE;
}
@@ -3326,7 +3328,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->atim_win_size,
VDEV_CMD);
if (ret) {
mlme_err("atim window set failed: %d", ret);
mlme_legacy_err("atim window set failed: %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3335,7 +3337,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->power_save_allow,
VDEV_CMD);
if (ret) {
mlme_err("power save allow failed %d", ret);
mlme_legacy_err("power save allow failed %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3344,7 +3346,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->power_collapse_allow,
VDEV_CMD);
if (ret) {
mlme_err("power collapse allow failed %d", ret);
mlme_legacy_err("power collapse allow failed %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3353,7 +3355,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->awake_on_tx_rx,
VDEV_CMD);
if (ret) {
mlme_err("set awake on tx/rx failed %d", ret);
mlme_legacy_err("set awake on tx/rx failed %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3362,7 +3364,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->inactivity_bcon_count,
VDEV_CMD);
if (ret) {
mlme_err("set inactivity time failed %d", ret);
mlme_legacy_err("set inactivity time failed %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3371,7 +3373,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->txsp_end_timeout,
VDEV_CMD);
if (ret) {
mlme_err("set txsp end failed %d", ret);
mlme_legacy_err("set txsp end failed %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3380,7 +3382,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->ps_warm_up_time,
VDEV_CMD);
if (ret) {
mlme_err("set ps warmup failed %d", ret);
mlme_legacy_err("set ps warmup failed %d", ret);
return QDF_STATUS_E_FAILURE;
}
@@ -3389,7 +3391,7 @@ QDF_STATUS wlan_mlme_ibss_power_save_setup(struct wlan_objmgr_psoc *psoc,
ibss_cfg->ps_1rx_chain_atim_win,
VDEV_CMD);
if (ret) {
mlme_err("set 1rx chain atim failed %d", ret);
mlme_legacy_err("set 1rx chain atim failed %d", ret);
return QDF_STATUS_E_FAILURE;
}

View File

@@ -64,7 +64,7 @@ static QDF_STATUS ucfg_mlme_vdev_init(void)
mlme_vdev_object_created_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status)) {
mlme_err("unable to register vdev create handle");
mlme_legacy_err("unable to register vdev create handle");
return status;
}
@@ -73,7 +73,7 @@ static QDF_STATUS ucfg_mlme_vdev_init(void)
mlme_vdev_object_destroyed_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to register vdev create handle");
mlme_legacy_err("unable to register vdev create handle");
return status;
@@ -89,7 +89,7 @@ static QDF_STATUS ucfg_mlme_vdev_deinit(void)
NULL);
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to unregister vdev destroy handle");
mlme_legacy_err("unable to unregister vdev destroy handle");
status = wlan_objmgr_unregister_vdev_create_handler(
WLAN_UMAC_COMP_MLME,
@@ -97,7 +97,7 @@ static QDF_STATUS ucfg_mlme_vdev_deinit(void)
NULL);
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to unregister vdev create handle");
mlme_legacy_err("unable to unregister vdev create handle");
return status;
}
@@ -113,7 +113,7 @@ QDF_STATUS ucfg_mlme_init(void)
mlme_psoc_object_created_notification,
NULL);
if (status != QDF_STATUS_SUCCESS) {
mlme_err("unable to register psoc create handle");
mlme_legacy_err("unable to register psoc create handle");
return status;
}
@@ -122,7 +122,7 @@ QDF_STATUS ucfg_mlme_init(void)
mlme_psoc_object_destroyed_notification,
NULL);
if (status != QDF_STATUS_SUCCESS) {
mlme_err("unable to register psoc create handle");
mlme_legacy_err("unable to register psoc create handle");
return status;
}
@@ -135,7 +135,7 @@ QDF_STATUS ucfg_mlme_init(void)
mlme_peer_object_created_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status)) {
mlme_err("peer create register notification failed");
mlme_legacy_err("peer create register notification failed");
return QDF_STATUS_E_FAILURE;
}
@@ -144,7 +144,7 @@ QDF_STATUS ucfg_mlme_init(void)
mlme_peer_object_destroyed_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status)) {
mlme_err("peer destroy register notification failed");
mlme_legacy_err("peer destroy register notification failed");
return QDF_STATUS_E_FAILURE;
}
@@ -160,25 +160,25 @@ QDF_STATUS ucfg_mlme_deinit(void)
mlme_peer_object_destroyed_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to unregister peer destroy handle");
mlme_legacy_err("unable to unregister peer destroy handle");
status = wlan_objmgr_unregister_peer_create_handler(
WLAN_UMAC_COMP_MLME,
mlme_peer_object_created_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to unregister peer create handle");
mlme_legacy_err("unable to unregister peer create handle");
status = ucfg_mlme_vdev_deinit();
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to unregister vdev destroy handle");
mlme_legacy_err("unable to unregister vdev destroy handle");
status = wlan_objmgr_unregister_psoc_destroy_handler(
WLAN_UMAC_COMP_MLME,
mlme_psoc_object_destroyed_notification,
NULL);
if (QDF_IS_STATUS_ERROR(status))
mlme_err("unable to unregister psoc destroy handle");
mlme_legacy_err("unable to unregister psoc destroy handle");
status = wlan_objmgr_unregister_psoc_create_handler(
WLAN_UMAC_COMP_MLME,
@@ -186,7 +186,7 @@ QDF_STATUS ucfg_mlme_deinit(void)
NULL);
if (status != QDF_STATUS_SUCCESS)
mlme_err("unable to unregister psoc create handle");
mlme_legacy_err("unable to unregister psoc create handle");
return status;
}
@@ -197,7 +197,7 @@ QDF_STATUS ucfg_mlme_psoc_open(struct wlan_objmgr_psoc *psoc)
status = mlme_cfg_on_psoc_enable(psoc);
if (!QDF_IS_STATUS_SUCCESS(status))
mlme_err("Failed to initialize MLME CFG");
mlme_legacy_err("Failed to initialize MLME CFG");
return status;
}
@@ -214,7 +214,7 @@ QDF_STATUS ucfg_mlme_pdev_open(struct wlan_objmgr_pdev *pdev)
pdev_mlme = wlan_pdev_mlme_get_cmpt_obj(pdev);
if (!pdev_mlme) {
mlme_err(" PDEV MLME is NULL");
mlme_legacy_err(" PDEV MLME is NULL");
return QDF_STATUS_E_FAILURE;
}
pdev_mlme->mlme_register_ops = mlme_register_vdev_mgr_ops;
@@ -1194,8 +1194,8 @@ ucfg_mlme_set_wmi_wq_watchdog_timeout(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_E_INVAL;
if (!cfg_in_range(CFG_WMI_WQ_WATCHDOG, wmi_wq_watchdog_timeout)) {
mlme_err("wmi watchdog bite timeout is invalid %d",
wmi_wq_watchdog_timeout);
mlme_legacy_err("wmi watchdog bite timeout is invalid %d",
wmi_wq_watchdog_timeout);
return QDF_STATUS_E_INVAL;
}
@@ -1332,8 +1332,8 @@ ucfg_mlme_set_ps_data_inactivity_timeout(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_E_INVAL;
if (!cfg_in_range(CFG_PS_DATA_INACTIVITY_TIMEOUT, inactivity_timeout)) {
mlme_err("inactivity timeout set value is invalid %d",
inactivity_timeout);
mlme_legacy_err("inactivity timeout set value is invalid %d",
inactivity_timeout);
return QDF_STATUS_E_INVAL;
}
mlme_obj->cfg.timeouts.ps_data_inactivity_timeout = inactivity_timeout;
@@ -1391,7 +1391,7 @@ ucfg_mlme_get_latency_enable(struct wlan_objmgr_psoc *psoc, bool *value)
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
mlme_err("mlme obj null");
mlme_legacy_err("mlme obj null");
return QDF_STATUS_E_INVAL;
}
@@ -1409,7 +1409,7 @@ QDF_STATUS ucfg_mlme_get_ibss_cfg(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
mlme_err("MLME Obj null on get IBSS config");
mlme_legacy_err("MLME Obj null on get IBSS config");
mlme_init_ibss_cfg(psoc, ibss_cfg);
return QDF_STATUS_E_INVAL;
}
@@ -1424,7 +1424,7 @@ QDF_STATUS ucfg_mlme_set_ibss_auto_bssid(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
mlme_err("MLME Obj null on get IBSS config");
mlme_legacy_err("MLME Obj null on get IBSS config");
return QDF_STATUS_E_INVAL;
}
mlme_obj->cfg.ibss.auto_bssid = auto_bssid;
@@ -1441,7 +1441,7 @@ ucfg_mlme_get_mws_coex_4g_quick_tdm(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*val = cfg_default(CFG_MWS_COEX_4G_QUICK_FTDM);
mlme_err("mlme obj null");
mlme_legacy_err("mlme obj null");
return QDF_STATUS_E_INVAL;
}
@@ -1459,7 +1459,7 @@ ucfg_mlme_get_mws_coex_5g_nr_pwr_limit(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*val = cfg_default(CFG_MWS_COEX_5G_NR_PWR_LIMIT);
mlme_err("mlme obj null");
mlme_legacy_err("mlme obj null");
return QDF_STATUS_E_INVAL;
}
@@ -1478,7 +1478,7 @@ ucfg_mlme_get_etsi13_srd_chan_in_master_mode(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*value = cfg_default(CFG_ETSI13_SRD_CHAN_IN_MASTER_MODE);
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_INVAL;
}
@@ -1496,7 +1496,7 @@ ucfg_mlme_get_11d_in_world_mode(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*value = cfg_default(CFG_ENABLE_11D_IN_WORLD_MODE);
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_INVAL;
}
@@ -1514,7 +1514,7 @@ ucfg_mlme_get_restart_beaconing_on_ch_avoid(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*value = cfg_default(CFG_RESTART_BEACONING_ON_CH_AVOID);
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_INVAL;
}
@@ -1532,7 +1532,7 @@ ucfg_mlme_get_indoor_channel_support(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*value = cfg_default(CFG_INDOOR_CHANNEL_SUPPORT);
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_INVAL;
}
@@ -1550,7 +1550,7 @@ ucfg_mlme_get_scan_11d_interval(struct wlan_objmgr_psoc *psoc,
mlme_obj = mlme_get_psoc_obj(psoc);
if (!mlme_obj) {
*value = cfg_default(CFG_SCAN_11D_INTERVAL);
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_INVAL;
}
@@ -1573,7 +1573,7 @@ ucfg_mlme_get_valid_channel_list(struct wlan_objmgr_psoc *psoc,
CFG_VALID_CHANNEL_LIST_LEN,
&valid_channel_list_num);
*channel_list_num = (uint8_t)valid_channel_list_num;
mlme_err("Failed to get MLME Obj");
mlme_legacy_err("Failed to get MLME Obj");
return QDF_STATUS_E_INVAL;
}