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:
committed by
Madan Koyyalamudi
parent
0bc72a406c
commit
f2973a0175
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user