qcacmn: Set txrx chainmask to 0 for non CFR RTT report type
TxRx chainmask is populated by the FW only in the case when report
type is WMI_RTT_REPORT_CFR.
Populate txrx chainmask to 0 when RTT report type is non-CFR to avoid
corruption.
Change-Id: Ie728656efe2f608e90a15b6fc94be3159db0f635
CRs-Fixed: 1080686
diff --git a/wmi_unified_non_tlv.c b/wmi_unified_non_tlv.c
index 2eb2063..db2d65c 100644
--- a/wmi_unified_non_tlv.c
+++ b/wmi_unified_non_tlv.c
@@ -6282,6 +6282,8 @@
ev->chain_mask = WMI_RTT_REPORT_RX_CHAIN_GET(body->rx_chain);
ev->bw = WMI_RTT_REPORT_RX_BW_GET(body->rx_chain);
+ /* If report type is not WMI_RTT_REPORT_CFR */
+ ev->txrxchain_mask = 0;
ev->tod = ((u_int64_t) body->tod.time32) << 32;
ev->tod |= body->tod.time0; /*tmp1 is the 64 bit tod*/