qcacld-3.0: Rate limit excessive logging

Rate limit excessive logging to prevent kernel panic.

Change-Id: I916fd576c4fd20ebe4f49e546cc5180bd0a79b1a
CRs-Fixed: 3348753
This commit is contained in:
sandhu
2022-11-29 19:59:39 -08:00
committed by Madan Koyyalamudi
parent 0bc72a406c
commit f2973a0175
2 changed files with 2 additions and 2 deletions

View File

@@ -2137,7 +2137,7 @@ void lim_process_action_frame(struct mac_context *mac_ctx,
} }
break; break;
default: default:
pe_warn("Action category: %d not handled", pe_warn_rl("Action category: %d not handled",
action_hdr->category); action_hdr->category);
break; break;
} }

View File

@@ -3475,7 +3475,7 @@ int wma_process_rmf_frame(tp_wma_handle wma_handle,
return -EINVAL; return -EINVAL;
} }
} else { } else {
wma_err("Rx unprotected unicast mgmt frame"); wma_err_rl("Rx unprotected unicast mgmt frame");
rx_pkt->pkt_meta.dpuFeedback = rx_pkt->pkt_meta.dpuFeedback =
DPU_FEEDBACK_UNPROTECTED_ERROR; DPU_FEEDBACK_UNPROTECTED_ERROR;
} }