Преглед на файлове

qcacld-3.0: Restart SAP on channel switch

Check if SAP restart is required when STA is changing the channel
as part of CSA handling.

CRs-Fixed: 2115904
Change-Id: Ie8c798c0964def5c3d5db6dbe55a3de3ff8a3381
Ganesh Kondabattini преди 7 години
родител
ревизия
41f3478d2e
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      core/hdd/src/wlan_hdd_assoc.c

+ 3 - 0
core/hdd/src/wlan_hdd_assoc.c

@@ -4364,6 +4364,9 @@ static void hdd_roam_channel_switch_handler(struct hdd_adapter *adapter,
 	if (QDF_IS_STATUS_ERROR(status))
 		hdd_err("channel change notification failed");
 
+	hdd_debug("check for SAP restart");
+	policy_mgr_check_concurrent_intf_and_restart_sap(hdd_ctx->hdd_psoc);
+
 	status = policy_mgr_set_hw_mode_on_channel_switch(hdd_ctx->hdd_psoc,
 		adapter->sessionId);
 	if (QDF_IS_STATUS_ERROR(status))