diff options
| author | Gupta, Kapil <kapgupta@qti.qualcomm.com> | 2016-05-09 19:04:50 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-06-15 16:01:51 +0530 |
| commit | c06e5fa44f0862c0bb269a16feef82dfce5662a2 (patch) | |
| tree | 81730686176027bb61f078e346dc2c6f579739d4 | |
| parent | 6cc4e76c2dbf42f6628c258bc542a6ddee6dbb21 (diff) | |
qcacld-2.0: Initialize re_flag of dfs_event
It may possible to have random data in re_flag when host get
dfs event which may cause extra processing of the phy error.
Add change to initialize re_flag variable with zero.
Change-Id: I1f38bed9471de60cb32da3ac31eb1e08011c2074
CRs-Fixed: 1028556
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index f3a14e7ddbb4..741be69028a8 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -6483,6 +6483,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. |
