diff --git a/core/mac/src/pe/lim/lim_process_message_queue.c b/core/mac/src/pe/lim/lim_process_message_queue.c index ed71a2eb16..c693291a4b 100644 --- a/core/mac/src/pe/lim/lim_process_message_queue.c +++ b/core/mac/src/pe/lim/lim_process_message_queue.c @@ -523,8 +523,7 @@ static bool def_msg_decision(struct mac_context *mac_ctx, if (mac_ctx->lim.gLimSmeState == eLIM_SME_OFFLINE_STATE) { /* Defer processing this message */ if (lim_defer_msg(mac_ctx, lim_msg) != TX_SUCCESS) { - QDF_TRACE(QDF_MODULE_ID_PE, LOGE, - FL("Unable to Defer Msg")); + pe_err_rl("Unable to Defer Msg"); lim_log_session_states(mac_ctx); lim_handle_defer_msg_error(mac_ctx, lim_msg); } @@ -1009,7 +1008,8 @@ uint32_t lim_defer_msg(struct mac_context *mac, struct scheduler_msg *pMsg) (mac, NO_SESSION, LIM_TRACE_MAKE_RXMSG(pMsg->type, LIM_MSG_DEFERRED))); } else { - pe_err("Dropped lim message (0x%X) Message %s", pMsg->type, lim_msg_str(pMsg->type)); + pe_err_rl("Dropped lim message (0x%X) Message %s", pMsg->type, + lim_msg_str(pMsg->type)); MTRACE(mac_trace_msg_rx (mac, NO_SESSION, LIM_TRACE_MAKE_RXMSG(pMsg->type, LIM_MSG_DROPPED))); diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c index b0a09e500b..7cdab5b625 100644 --- a/core/mac/src/pe/lim/lim_utils.c +++ b/core/mac/src/pe/lim/lim_utils.c @@ -704,8 +704,8 @@ uint8_t lim_write_deferred_msg_q(struct mac_context *mac_ctx, * We reach the quota for management frames, * drop this one */ - pe_warn("Too many queue->MsgQ Msg: %d count: %d", - lim_msg->type, count); + pe_warn_rl("Too many queue->MsgQ Msg: %d count: %d", + lim_msg->type, count); /* Return error, caller knows what to do */ return TX_QUEUE_FULL; }