Browse Source

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
Kapil Gupta 9 years ago
parent
commit
e29ab4a9b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/wma/src/wma_features.c

+ 1 - 0
core/wma/src/wma_features.c

@@ -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.