From 6feed3fbea1b52612830d9082b98f98aa37bd66f Mon Sep 17 00:00:00 2001 From: Liangwei Dong Date: Tue, 29 Oct 2019 16:57:21 +0800 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_hostapd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index af9b05082a10..1598859b13d2 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -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) {