diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 9aea858f5a..0b0aa28abd 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7156,7 +7156,12 @@ void hdd_unsafe_channel_restart_sap(hdd_context_t *hdd_ctxt) hdd_debug("sending coex indication"); wlan_hdd_send_svc_nlink_msg(hdd_ctxt->radio_index, WLAN_SVC_LTE_COEX_IND, NULL, 0); - hdd_switch_sap_channel(adapter_temp, restart_chan); + hdd_debug("driver to start sap: %d", + hdd_ctxt->config->sap_internal_restart); + if (hdd_ctxt->config->sap_internal_restart) + hdd_switch_sap_channel(adapter_temp, restart_chan); + else + return; } next_adapater: