qcacmn: Add fixes in wait count calculation

1. Add fixes in wait count calculation logic.
2. Add necessary debug logs in wait count calculation.

CRs-Fixed: 3026035
Change-Id: I5aad3a5b56ae1db7b00e17240bb768f35cd83abc
This commit is contained in:
Edayilliam Jayadev
2021-08-30 15:13:50 +05:30
committato da Madan Koyyalamudi
parent 9fd7fb390c
commit 29fe92fbd7
2 ha cambiato i file con 40 aggiunte e 6 eliminazioni

Vedi File

@@ -273,7 +273,7 @@ target_if_mgmt_rx_reo_get_snapshot_address(
struct mgmt_rx_reo_snapshot **snapshot_address)
{
struct wlan_lmac_if_mgmt_rx_reo_low_level_ops *low_level_ops;
uint8_t link_id;
int8_t link_id;
if (!pdev) {
mgmt_rx_reo_err("pdev is null");
@@ -301,6 +301,8 @@ target_if_mgmt_rx_reo_get_snapshot_address(
qdf_assert_always(low_level_ops->implemented);
link_id = wlan_get_mlo_link_id_from_pdev(pdev);
qdf_assert_always(link_id >= 0);
*snapshot_address = low_level_ops->get_snapshot_address(link_id, id);
return QDF_STATUS_SUCCESS;