瀏覽代碼

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 年之前
父節點
當前提交
e29ab4a9b0
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.