qcacmn: Fix get chain rssi stats

Fix chain rssi stats by correcting logic to extract chain
rssi stats.

Change-Id: Ifd8337abaef7f101082131e48f2ec87097317899
CRs-Fixed: 2253043
This commit is contained in:
Naveen Rawat 2018-06-01 17:12:31 -07:00 • committed by nshrivas
commit 1883008d4c
2 changed files with 10 additions and 10 deletions

View file

@ -18303,7 +18303,7 @@ static QDF_STATUS extract_all_stats_counts_tlv(wmi_unified_t wmi_handle,
return QDF_STATUS_SUCCESS;
if (WMITLV_GET_STRUCT_TLVLEN(wmi_per_chain_rssi_stats) !=
WMITLV_GET_TLVTAG(rssi_event->tlv_header))
WMITLV_GET_TLVLEN(rssi_event->tlv_header))
return QDF_STATUS_SUCCESS;
stats_param->num_rssi_stats = rssi_event->num_per_chain_rssi_stats;