瀏覽代碼

qcacld-3.0: Fix incorrect center frequency seg1 value

Fix incorrect center frequency seg1 value in ch params
structure by initializing it. This value is later used as
320 MHz band center frequency and results in all 6 GHz
channels to be devoid of 320 MHz bonded pairs and thus
reducing maximum supported BW to less than 320 MHz.

Change-Id: Icc996393654e3571b6969a40784ca622130959cb
CRs-Fixed: 3457159
Gururaj Pandurangi 2 年之前
父節點
當前提交
1ba00ba5d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/wma/src/wma_scan_roam.c

+ 1 - 1
core/wma/src/wma_scan_roam.c

@@ -158,7 +158,7 @@ QDF_STATUS wma_update_channel_list(WMA_HANDLE handle,
 	int i, len;
 	struct scan_chan_list_params *scan_ch_param;
 	struct channel_param *chan_p;
-	struct ch_params ch_params;
+	struct ch_params ch_params = {0};
 
 	len = sizeof(struct channel_param) * chan_list->numChan +
 		offsetof(struct scan_chan_list_params, ch_param[0]);