qcacmn: Add correct ring number offset for PPE2TCL ring

Target 6432 - Add the correct ring number offset for PPE2TCL ring.

Change-Id: I057fb9ea959078fb0cb49cb65d8600e7aa64f22c
CRs-Fixed: 3512321
This commit is contained in:
syed touqeer pasha
2023-05-12 00:14:59 +05:30
committed by Rahul Choudhary
父節點 43568bb331
當前提交 131126e7b3

查看文件

@@ -229,7 +229,9 @@ hal_tx_config_rbm_mapping_be_6432(hal_soc_handle_t hal_soc_hdl,
reg_addr = HWIO_TCL_R0_RBM_MAPPING0_ADDR(MAC_TCL_REG_REG_BASE);
if (ring_type == TCL_CMD_CREDIT)
if (ring_type == PPE2TCL)
ring_num = ring_num + RBM_PPE2TCL_OFFSET;
else if (ring_type == TCL_CMD_CREDIT)
ring_num = ring_num + RBM_TCL_CMD_CREDIT_OFFSET;
/* get current value stored in register address */