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
This commit is contained in:
Ganesh Kondabattini 2017-09-14 21:14:29 +05:30 • committed by snandini
commit 41f3478d2e

View file

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