qcacld-3.0: Initialize re_flag of dfs_event

qcacld-2.0 to qcacld-3.0 propagation

It may be possible to have random data in re_flag which may
cause extra processing of the phy error in case of dfs event.

Add change to initialize re_flag variable with zero.

Change-Id: I1f38bed9471de60cb32da3ac31eb1e08011c2074
CRs-Fixed: 1028556
This commit is contained in:
Kapil Gupta
2016-08-09 18:36:12 +05:30
committed by qcabuildsw
parent 544e33b0bb
commit e29ab4a9b0

View File

@@ -1897,6 +1897,7 @@ static int wma_unified_dfs_radar_rx_event_handler(void *handle,
* Index of peak magnitude
*/
event->sidx = radar_event->peak_sidx;
event->re_flags = 0;
/*
* Handle chirp flags.