qcacld-3.0: Update intf_ch_freq form intf_ch

"intf_ch" is updated by wlansap_check_cc_intf function.
"intf_ch_freq" needs to be updated based on new intf_ch.

Change-Id: I64a9ded8f6fa1ebd9cc88f69098c88a7a01ca82c
CRs-Fixed: 2555848
This commit is contained in:
Liangwei Dong 2019-10-29 16:57:21 +08:00 • committed by nshrivas
commit 6feed3fbea

View file

@ -3211,6 +3211,7 @@ QDF_STATUS wlan_hdd_get_channel_for_sap_restart(
* Need to take care of 3 port cases with 2 STA iface in future.
*/
intf_ch = wlansap_check_cc_intf(hdd_ap_ctx->sap_context);
intf_ch_freq = wlan_reg_chan_to_freq(hdd_ctx->pdev, intf_ch);
hdd_info("sap_vdev %d intf_ch: %d", vdev_id, intf_ch);
if (QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION !=
mcc_to_scc_switch) {