|
@@ -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:
|