diff options
| author | Ganesh Kondabattini <ganeshk@codeaurora.org> | 2017-09-14 21:14:29 +0530 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-10-04 17:07:00 -0700 |
| commit | 309556c8ebdd089f71cd8ec088f5f3225db48bb2 (patch) | |
| tree | 6ac6748c1135fe06501639ac5c5d317ed13033ea | |
| parent | 8f6dcee8ff6c509390b99ac0453cf09f271b21f6 (diff) | |
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
| -rw-r--r-- | core/hdd/src/wlan_hdd_assoc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 9471ed7c6c57..f272df193063 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -4791,6 +4791,9 @@ static void hdd_roam_channel_switch_handler(hdd_adapter_t *adapter, if (QDF_IS_STATUS_ERROR(status)) hdd_err("channel change notification failed"); + hdd_debug("check for SAP restart"); + cds_check_concurrent_intf_and_restart_sap(adapter); + status = cds_set_hw_mode_on_channel_switch(adapter->sessionId); if (QDF_IS_STATUS_ERROR(status)) hdd_debug("set hw mode change not done"); |
