소스 검색

qcacmn: Fix DFS NOL KW issues

Initialize the timer object to zero before using it.

Change-Id: I54ccb203bc096a382f670738e7e3f18d2aa69c8e
CRs-Fixed: 2202873
Abhijit Pradhan 7 년 전
부모
커밋
93caac752f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;