mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Re initialize default SAP mandatory channel list
Re initialize default SAP mandatory channel list as part of the start bss. Without this change the 5GHz channels which were added as part of previous start bss are valid for the current start bss operation. Change-Id: Id234b413bbddb05efd3af8c3349271bf93a0a3bd CRs-Fixed: 2300501
This commit is contained in:
parent
0f192096cd
commit
15ca8ea97a
1 changed files with 2 additions and 0 deletions
|
|
@ -2981,6 +2981,8 @@ void policy_mgr_init_sap_mandatory_2g_chan(struct wlan_objmgr_psoc *psoc)
|
|||
policy_mgr_err("Error in getting valid channels");
|
||||
return;
|
||||
}
|
||||
pm_ctx->sap_mandatory_channels_len = 0;
|
||||
|
||||
for (i = 0; i < len; i++) {
|
||||
if (WLAN_REG_IS_24GHZ_CH(chan_list[i])) {
|
||||
policy_mgr_debug("Add chan %hu to mandatory list",
|
||||
|
|
|
|||
Loading…
Reference in a new issue