summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDundi Raviteja <dundi@codeaurora.org>2018-06-26 11:28:19 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-28 09:52:37 -0700
commit33721bdff2df485101232e87dada0c4da5875f53 (patch)
tree88933e6209c42734f1751a255ed66bf2a191e0e0
parent37c9bd0d689ea707cb7e334d9ec10d0a73fa777d (diff)
qcacld-3.0: Wrong TLV tag setting for Get RSSI command
While sending Get RSSI command to firmware, in wma_get_chain_rssi() API TLV tag is setting as WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param which is not the correct TLV tag for Get RSSI. To address this issue, set the correct TLV tag which is WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param. Change-Id: Ib99f771d6c5a4b79b9eb0be97a830efa980847c4 CRs-Fixed: 2267542
-rw-r--r--core/wma/src/wma_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c
index 73603727f412..c3906c25dfff 100644
--- a/core/wma/src/wma_main.c
+++ b/core/wma/src/wma_main.c
@@ -7160,8 +7160,8 @@ static QDF_STATUS wma_get_chain_rssi(tp_wma_handle wma_handle,
cmd = (wmi_pdev_div_get_rssi_antid_fixed_param *)buf_ptr;
WMITLV_SET_HDR(&cmd->tlv_header,
- WMITLV_TAG_STRUC_wmi_peer_antdiv_info_req_cmd_fixed_param,
- WMITLV_GET_STRUCT_TLVLEN(wmi_pdev_div_get_rssi_antid_fixed_param));
+ WMITLV_TAG_STRUC_wmi_pdev_div_get_rssi_antid_fixed_param,
+ WMITLV_GET_STRUCT_TLVLEN(wmi_pdev_div_get_rssi_antid_fixed_param));
cmd->pdev_id = 0;
WMI_CHAR_ARRAY_TO_MAC_ADDR(req_params->peer_macaddr.bytes,
&cmd->macaddr);