Rate limit excessive logging to prevent kernel panic. Change-Id: I916fd576c4fd20ebe4f49e546cc5180bd0a79b1a CRs-Fixed: 3348753
@@ -2137,7 +2137,7 @@ void lim_process_action_frame(struct mac_context *mac_ctx,
}
break;
default:
- pe_warn("Action category: %d not handled",
+ pe_warn_rl("Action category: %d not handled",
action_hdr->category);
@@ -3475,7 +3475,7 @@ int wma_process_rmf_frame(tp_wma_handle wma_handle,
return -EINVAL;
} else {
- wma_err("Rx unprotected unicast mgmt frame");
+ wma_err_rl("Rx unprotected unicast mgmt frame");
rx_pkt->pkt_meta.dpuFeedback =
DPU_FEEDBACK_UNPROTECTED_ERROR;