瀏覽代碼

qcacmn: Align secondary_cur_chan_list/cur_chan_list channel state

Currently the channel state of HST secondary_cur_chan_list/cur_chan_list
is out of sync and beacon IE is populated from secondary_cur_chan_list,
which causes the actual supported channel lists and country IE channel
lists are unmatched for non-6 GHz case. So let secondary_cur_chan_list
align with cur_chan_list.

Change-Id: Ie3914ac48dc05d61ac2deb78a2892986efe238dd
CRs-Fixed: 3239390
Qun Zhang 3 年之前
父節點
當前提交
c9493c28ee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      umac/regulatory/core/src/reg_build_chan_list.c

+ 1 - 1
umac/regulatory/core/src/reg_build_chan_list.c

@@ -1667,7 +1667,7 @@ reg_populate_secondary_cur_chan_list(struct wlan_regulatory_pdev_priv_obj
 				     *pdev_priv_obj)
 {
 	qdf_mem_copy(pdev_priv_obj->secondary_cur_chan_list,
-		     pdev_priv_obj->mas_chan_list,
+		     pdev_priv_obj->cur_chan_list,
 		     NUM_CHANNELS * sizeof(struct regulatory_channel));
 }
 #else /* CONFIG_REG_CLIENT */