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:
Tiger Yu
2019-12-23 15:46:42 +08:00
committed by nshrivas
szülő 192bbaa088
commit dc29b1f9d7

Fájl megtekintése

@@ -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;
if (!vdev || !nbuf) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
"invalid tx descriptor. vdev or nbuf NULL");
dp_info_rl("invalid tx descriptor. vdev or nbuf NULL");
goto out;
}