From 91cbd1db84a85ed8a474f679b57787ad69aa2f89 Mon Sep 17 00:00:00 2001 From: Varun Reddy Yeturu Date: Thu, 14 Dec 2017 13:51:45 -0800 Subject: [PATCH] qcacld-3.0: Upon roam synch failure, send roaming stop Currently, the host sends a roam scan mode of WMI_ROAM_SCAN_MODE_ROAMOFFLOAD to the firmware when roam synch fails in the host. But the firmware expects a WMI_ROAM_SCAN_MODE_NONE in the roam synch wait state to respond with a HO_FAIL which will evetually lead to a disconnection and clean up. Change-Id: I39c768881c312ecbedf6e4a1742e3eaabcea1f4d CRs-Fixed: 2159244 --- core/wma/src/wma_scan_roam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c index 4d79634dc46f..fee34292c590 100644 --- a/core/wma/src/wma_scan_roam.c +++ b/core/wma/src/wma_scan_roam.c @@ -2819,7 +2819,7 @@ cleanup_label: roam_req = qdf_mem_malloc(sizeof(tSirRoamOffloadScanReq)); if (roam_req && synch_event) { roam_req->Command = ROAM_SCAN_OFFLOAD_STOP; - roam_req->reason = REASON_ROAM_SYNCH_FAILED; + roam_req->reason = REASON_ROAM_STOP_ALL; roam_req->sessionId = synch_event->vdev_id; wma_process_roaming_config(wma, roam_req); }