qcacmn: Limit logging when handling tx comp status if vdev is NULL
Use dp_info_rl instead of QDF_TRACE when handling tx completion status to avoid excessive logging when vdev is destroyed in the another thread. Change-Id: I1044c6d747ba1c7036664fe0265ec4855b7b4c47 CRs-Fixed: 2591486
This commit is contained in:
@@ -3196,8 +3196,7 @@ void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc,
|
|||||||
qdf_nbuf_t nbuf = tx_desc->nbuf;
|
qdf_nbuf_t nbuf = tx_desc->nbuf;
|
||||||
|
|
||||||
if (!vdev || !nbuf) {
|
if (!vdev || !nbuf) {
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
dp_info_rl("invalid tx descriptor. vdev or nbuf NULL");
|
||||||
"invalid tx descriptor. vdev or nbuf NULL");
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user