mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
qcacld-3.0: Rate limit DELBA process logs
AP/peer may send DELBA continuously in some error scenarios. Host driver generates a dump of the frame in INFO level and a log in ERROR level for each DELBA received. This results in excessive logs to the kernel logging. Rate limit the logs to avoid spamming kernel logs. Change-Id: I94b11b76b862924672e06520b5bf2e731ec462df CRs-Fixed: 3248606
This commit is contained in:
parent
5e0e424484
commit
9fcc449dbb
1 changed files with 2 additions and 2 deletions
|
|
@ -1552,7 +1552,7 @@ static void lim_process_delba_req(struct mac_context *mac_ctx, uint8_t *rx_pkt_i
|
|||
body_ptr = WMA_GET_RX_MPDU_DATA(rx_pkt_info);
|
||||
frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_pkt_info);
|
||||
|
||||
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_INFO,
|
||||
QDF_TRACE_HEX_DUMP(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
|
||||
body_ptr, frame_len);
|
||||
|
||||
delba_req = qdf_mem_malloc(sizeof(*delba_req));
|
||||
|
|
@ -1576,7 +1576,7 @@ static void lim_process_delba_req(struct mac_context *mac_ctx, uint8_t *rx_pkt_i
|
|||
delba_req->delba_param_set.tid, delba_req->Reason.code);
|
||||
|
||||
if (QDF_STATUS_SUCCESS != qdf_status)
|
||||
pe_err("Failed to process delba request");
|
||||
pe_err_rl("Failed to process delba request");
|
||||
|
||||
error:
|
||||
qdf_mem_free(delba_req);
|
||||
|
|
|
|||
Loading…
Reference in a new issue