mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Copy the sap channel list to acs cfg chan list
Copy the sap channel list that is obtained after filtering the channel list from all the checks like SRD, DFS to maintain the sync between the ACS module, and the sap channel select logic. Change-Id: I78a835f700ab34fa81b9b748e6ad28ca3b726650 CRs-Fixed: 2513628
This commit is contained in:
parent
19aa021ae3
commit
5ffac61a8a
1 changed files with 5 additions and 0 deletions
|
|
@ -3435,12 +3435,17 @@ static QDF_STATUS sap_get_freq_list(struct sap_context *sap_ctx,
|
|||
} else {
|
||||
*freq_list = NULL;
|
||||
qdf_mem_free(list);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
for (loop_count = 0; loop_count < ch_count; loop_count++) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_DEBUG,
|
||||
FL("channel frequency: %d"), list[loop_count]);
|
||||
sap_ctx->acs_cfg->ch_list[loop_count] =
|
||||
wlan_reg_freq_to_chan(mac_ctx->pdev, list[loop_count]);
|
||||
}
|
||||
sap_ctx->acs_cfg->ch_list_count = ch_count;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue