mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: fix excessive logging when RX invalid peer data
To avoid excessive logging to console, control the log rate when RX data peer is invalid in function dp_rx_err_deliver, use API QDF_TRACE_ERROR_RL instead of original QDF_TRACE. CRs-Fixed: 2300774 Change-Id: If1bf3fd93801e0ef37c7fdb1a32cda16aa429464
This commit is contained in:
parent
030747ff17
commit
a1f53043bb
1 changed files with 1 additions and 2 deletions
|
|
@ -786,8 +786,7 @@ dp_rx_err_deliver(struct dp_soc *soc, qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr)
|
|||
qdf_nbuf_set_rx_chfrag_end(nbuf, 1);
|
||||
|
||||
if (!peer) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("peer is NULL"));
|
||||
QDF_TRACE_ERROR_RL(QDF_MODULE_ID_DP, "peer is NULL");
|
||||
DP_STATS_INC_PKT(soc, rx.err.rx_invalid_peer, 1,
|
||||
qdf_nbuf_len(nbuf));
|
||||
/* Trigger invalid peer handler wrapper */
|
||||
|
|
|
|||
Loading…
Reference in a new issue