Browse Source

qcacmn: Fix DFS NOL KW issues

Initialize the timer object to zero before using it.

Change-Id: I54ccb203bc096a382f670738e7e3f18d2aa69c8e
CRs-Fixed: 2202873
Abhijit Pradhan 7 years ago
parent
commit
93caac752f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      umac/dfs/core/src/misc/dfs_nol.c

+ 1 - 0
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;