diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 75219761a702..dca2dbe16355 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -5611,6 +5611,7 @@ static int __wlan_hdd_cfg80211_start_ap(struct wiphy *wiphy, bool sta_sap_scc_on_dfs_chan; uint16_t sta_cnt; bool val; + struct wireless_dev *wdev = dev->ieee80211_ptr; hdd_enter(); @@ -5862,6 +5863,9 @@ static int __wlan_hdd_cfg80211_start_ap(struct wiphy *wiphy, goto err_start_bss; } + if (wdev->chandef.chan->center_freq != + params->chandef.chan->center_freq) + params->chandef = wdev->chandef; /* * If Do_Not_Break_Stream enabled send avoid channel list * to application.