qcacld-3.0: debug change to print HP/TP before in TXRX drain

Before suspend, output HP/TP value to make sure there
is nothing pending in RX rings.

Change-Id: I25312b5837ce2edfd43a0f70bda32842a95c5ed6
CRs-Fixed: 3648777
This commit is contained in:
Yu Tian
2023-11-23 22:16:41 -08:00
committed by Ravindra Konda
parent d73b85d25d
commit 015848b43a

View File

@@ -1032,10 +1032,13 @@ QDF_STATUS pmo_core_txrx_suspend(struct wlan_objmgr_psoc *psoc)
goto out;
}
cdp_display_txrx_hw_info(dp_soc);
/* drain RX rings only */
cdp_drain_txrx(dp_soc, 1);
if (ret == -EOPNOTSUPP)
goto out;
cdp_drain_txrx(dp_soc);
pmo_ctx->wow.txrx_suspended = true;
out:
pmo_psoc_put_ref(psoc);