qcacmn: Rate limit excessive logging in case of HW enqueue failure
Currently, excess logging is causing a crash when enqueuing of Tx MSDU descriptor to HW failed. Rate limiting the log messages to avoid the crash. Change-Id: Ibb230ce03c23518b6f7feda61a49bf155c7ddc69 CRs-Fixed: 2933002
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
dff5788d14
melakukan
4982427333
@@ -2090,8 +2090,8 @@ dp_tx_send_msdu_single(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
|
||||
tx_exc_metadata, msdu_info);
|
||||
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
dp_tx_err("Tx_hw_enqueue Fail tx_desc %pK queue %d",
|
||||
tx_desc, tx_q->ring_id);
|
||||
dp_tx_err_rl("Tx_hw_enqueue Fail tx_desc %pK queue %d",
|
||||
tx_desc, tx_q->ring_id);
|
||||
qdf_nbuf_unmap_nbytes_single(vdev->osdev, nbuf,
|
||||
QDF_DMA_TO_DEVICE,
|
||||
nbuf->len);
|
||||
|
Reference in New Issue
Block a user