summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishank Aggarwal <naggar@codeaurora.org>2017-03-24 19:33:22 +0530
committerNishank Aggarwal <naggar@codeaurora.org>2017-03-25 15:43:30 +0530
commit8315417cb9e580055719a67c28592d64c822b598 (patch)
treecd189f8aeda95ba53e84a75f6e32c53337e7f332
parent9c631657ede0aee93bdcaed05937c0a6994a6bb2 (diff)
qcacld-3.0: Replace lim_log() with pe_* log levels in lim_roam_timer_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_roam_timer_utils.c Change-Id: I1cd044428a2754f602b79cc74227f572e6343882 CRs-Fixed: 1093093
-rw-r--r--core/mac/src/pe/lim/lim_roam_timer_utils.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/core/mac/src/pe/lim/lim_roam_timer_utils.c b/core/mac/src/pe/lim/lim_roam_timer_utils.c
index d9d802f37ada..6daef7e0d121 100644
--- a/core/mac/src/pe/lim/lim_roam_timer_utils.c
+++ b/core/mac/src/pe/lim/lim_roam_timer_utils.c
@@ -42,8 +42,7 @@ uint32_t lim_create_timers_host_roam(tpAniSirGlobal mac_ctx)
uint32_t cfg_value;
if (wlan_cfg_get_int(mac_ctx, WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT,
&cfg_value) != eSIR_SUCCESS)
- lim_log(mac_ctx, LOGW,
- FL("could not retrieve ReassocFailureTimeout value"));
+ pe_warn("could not retrieve ReassocFailureTimeout value");
cfg_value = SYS_MS_TO_TICKS(cfg_value);
/* Create Association failure timer and activate it later */
@@ -61,7 +60,7 @@ uint32_t lim_create_timers_host_roam(tpAniSirGlobal mac_ctx)
"FT PREAUTH RSP TIMEOUT",
lim_timer_handler, SIR_LIM_FT_PREAUTH_RSP_TIMEOUT,
cfg_value, 0, TX_NO_ACTIVATE) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGE, FL("failed to create Join fail timer"));
+ pe_err("failed to create Join fail timer");
goto err_roam_timer;
}
return TX_SUCCESS;
@@ -112,29 +111,25 @@ void lim_deactivate_and_change_timer_host_roam(tpAniSirGlobal mac_ctx,
if (tx_timer_deactivate
(&mac_ctx->lim.limTimers.gLimReassocFailureTimer) !=
TX_SUCCESS)
- lim_log(mac_ctx, LOGW,
- FL("unable to deactivate Reassoc fail timer"));
+ pe_warn("unable to deactivate Reassoc fail timer");
if (wlan_cfg_get_int(mac_ctx,
WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT,
&val) != eSIR_SUCCESS)
- lim_log(mac_ctx, LOGW,
- FL("could not get ReassocFailureTimeout val"));
+ pe_warn("could not get ReassocFailureTimeout val");
val = SYS_MS_TO_TICKS(val);
if (tx_timer_change
(&mac_ctx->lim.limTimers.gLimReassocFailureTimer, val,
0) != TX_SUCCESS)
- lim_log(mac_ctx, LOGW,
- FL("unable to change Reassoc fail timer"));
+ pe_warn("unable to change Reassoc fail timer");
break;
case eLIM_FT_PREAUTH_RSP_TIMER:
if (tx_timer_deactivate
(&mac_ctx->lim.limTimers.gLimFTPreAuthRspTimer) !=
TX_SUCCESS) {
- lim_log(mac_ctx, LOGE,
- FL("Unable to deactivate Preauth Fail timer"));
+ pe_err("Unable to deactivate Preauth Fail timer");
return;
}
val = 1000;
@@ -142,8 +137,7 @@ void lim_deactivate_and_change_timer_host_roam(tpAniSirGlobal mac_ctx,
if (tx_timer_change(
&mac_ctx->lim.limTimers.gLimFTPreAuthRspTimer,
val, 0) != TX_SUCCESS) {
- lim_log(mac_ctx, LOGE,
- FL("Unable to change Join Failure timer"));
+ pe_err("Unable to change Join Failure timer");
return;
}
break;