Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
e29ab4a9b0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.