From 796b48ae0bd63e1cfc5a7f758526449fd8f856e9 Mon Sep 17 00:00:00 2001 From: Amit Mehta Date: Wed, 6 Oct 2021 17:16:17 +0530 Subject: [PATCH] qcacmn: Ring History Display update TP and HP values are assigned wrongly while printing ring history. Fixing assignment. Change-Id: I50ea90a3b49ab4d5459a3e0ddfa259f669764433 CRs-Fixed: 3051531 --- dp/wifi3.0/dp_main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 4c6578961d33..b9f1537f81dc 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -10495,27 +10495,27 @@ static void dp_display_srng_info(struct cdp_soc_t *soc_hdl) dp_info("SRNG HP-TP data:"); for (i = 0; i < soc->num_tcl_data_rings; i++) { hal_get_sw_hptp(hal_soc, soc->tcl_data_ring[i].hal_srng, - &hp, &tp); + &tp, &hp); dp_info("TCL DATA ring[%d]: hp=0x%x, tp=0x%x", i, hp, tp); hal_get_sw_hptp(hal_soc, soc->tx_comp_ring[i].hal_srng, - &hp, &tp); + &tp, &hp); dp_info("TX comp ring[%d]: hp=0x%x, tp=0x%x", i, hp, tp); } for (i = 0; i < soc->num_reo_dest_rings; i++) { hal_get_sw_hptp(hal_soc, soc->reo_dest_ring[i].hal_srng, - &hp, &tp); + &tp, &hp); dp_info("REO DST ring[%d]: hp=0x%x, tp=0x%x", i, hp, tp); } - hal_get_sw_hptp(hal_soc, soc->reo_exception_ring.hal_srng, &hp, &tp); + hal_get_sw_hptp(hal_soc, soc->reo_exception_ring.hal_srng, &tp, &hp); dp_info("REO exception ring: hp=0x%x, tp=0x%x", hp, tp); - hal_get_sw_hptp(hal_soc, soc->rx_rel_ring.hal_srng, &hp, &tp); + hal_get_sw_hptp(hal_soc, soc->rx_rel_ring.hal_srng, &tp, &hp); dp_info("WBM RX release ring: hp=0x%x, tp=0x%x", hp, tp); - hal_get_sw_hptp(hal_soc, soc->wbm_desc_rel_ring.hal_srng, &hp, &tp); + hal_get_sw_hptp(hal_soc, soc->wbm_desc_rel_ring.hal_srng, &tp, &hp); dp_info("WBM desc release ring: hp=0x%x, tp=0x%x", hp, tp); }