qcacld-3.0: Use wlan_reg_legacy_chan_to_freq for conversion

Use wlan_reg_legacy_chan_to_freq api for channel to
frequency conversion instead of wlan_reg_chan_to_freq.

Change-Id: I06a2638a1e402dc6a750c672ed803e8dbfa254fc
CRs-Fixed: 2853575
此提交包含在:
sheenam monga
2021-01-20 16:11:02 +05:30
提交者 snandini
父節點 1f57670f03
當前提交 07ecaebeb7
共有 7 個檔案被更改,包括 25 行新增27 行删除

查看文件

@@ -794,7 +794,9 @@ static void wlansap_update_vendor_acs_chan(struct mac_context *mac_ctx,
}
mac_ctx->sap.SapDfsInfo.target_chan_freq =
wlan_reg_chan_to_freq(mac_ctx->pdev, sap_ctx->dfs_vendor_channel);
wlan_reg_legacy_chan_to_freq(
mac_ctx->pdev,
sap_ctx->dfs_vendor_channel);
mac_ctx->sap.SapDfsInfo.new_chanWidth =
sap_ctx->dfs_vendor_chan_bw;