qcacmn: rate limit error log in dp_2k_jump_handle

Error log peer not found is coming spurious in
dp_2k_jump_handle on continuous error pkts, so
rate limit the same.

Change-Id: If4b577a7759136ea824ca62b63ef91d102b8decb
CRs-Fixed: 2978939
This commit is contained in:
Vevek Venkatesan 2021-06-28 19:43:27 +05:30 • committed by Madan Koyyalamudi
commit e61e102db3

View file

@ -949,8 +949,7 @@ dp_2k_jump_handle(struct dp_soc *soc,
peer = dp_peer_get_ref_by_id(soc, peer_id, DP_MOD_ID_RX_ERR);
if (!peer) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
"peer not found");
dp_info_rl("%pK: peer not found", soc);
goto free_nbuf;
}