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
This commit is contained in:
Qun Zhang
2022-07-13 12:35:21 +08:00
committed by Madan Koyyalamudi
parent 3452af5abe
commit c9493c28ee

View File

@@ -1667,7 +1667,7 @@ reg_populate_secondary_cur_chan_list(struct wlan_regulatory_pdev_priv_obj
*pdev_priv_obj) *pdev_priv_obj)
{ {
qdf_mem_copy(pdev_priv_obj->secondary_cur_chan_list, 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)); NUM_CHANNELS * sizeof(struct regulatory_channel));
} }
#else /* CONFIG_REG_CLIENT */ #else /* CONFIG_REG_CLIENT */