From 93caac752f38e57df2f7a12cb63231e66ceddf5c Mon Sep 17 00:00:00 2001 From: Abhijit Pradhan Date: Fri, 9 Mar 2018 11:42:06 +0530 Subject: [PATCH] qcacmn: Fix DFS NOL KW issues Initialize the timer object to zero before using it. Change-Id: I54ccb203bc096a382f670738e7e3f18d2aa69c8e CRs-Fixed: 2202873 --- umac/dfs/core/src/misc/dfs_nol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/umac/dfs/core/src/misc/dfs_nol.c b/umac/dfs/core/src/misc/dfs_nol.c index a02c25eb6500..a56c56b4110d 100644 --- a/umac/dfs/core/src/misc/dfs_nol.c +++ b/umac/dfs/core/src/misc/dfs_nol.c @@ -401,6 +401,7 @@ void dfs_nol_addchan(struct wlan_dfs *dfs, if (!elem) goto bad; + qdf_mem_zero(elem, sizeof(*elem)); elem->nol_dfs = dfs; elem->nol_freq = freq; elem->nol_chwidth = ch_width;