summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVignesh Viswanathan <viswanat@codeaurora.org>2018-08-14 10:04:30 +0530
committerSrinivas Girigowda <sgirigow@codeaurora.org>2018-09-05 11:21:17 -0700
commite3124b2f74cd1b7764f7844d5f4d8344a035b1b9 (patch)
tree2ad5c42b36b364f92f41ea7fc5976ccf7f4c78bd
parent9abb6155522b762e74f3b4aa4df84c191baa602a (diff)
downloadqcacld-e3124b2f74cd1b7764f7844d5f4d8344a035b1b9.tar.gz
qcacld-3.0: Send roam_scan_mode as 0 for RSO Stop during disconnect
Currently if disconnect is triggered from the supplicant, RSO Stop is sent with reason REASON_ROAM_STOP_ALL and this sends roam_scan_mode as 0 to the FW. However, if disconnect is triggered from the LIM/FW, the RSO Stop is sent with reason REASON_DISCONNECTED and leads to roam_scan_mode being sent as 4 which does not disable RSO in the FW. In STA+STA scenario where vdev0 receives a disconnect from LIM, RSO is not stopped for vdev0, however driver goes ahead to enable RSO for vdev1, which leads to FW assert. Send roam_scan_mode as 0 for RSO Stop command with REASON_DISCONNECTED also. Change-Id: Id2147653ecbd91e033f42382aa00a717d280f6e6 CRs-Fixed: 2266778 Bug: 80417715 Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
-rw-r--r--core/wma/src/wma_scan_roam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c
index 65d57b5265..33adf3c44a 100644
--- a/core/wma/src/wma_scan_roam.c
+++ b/core/wma/src/wma_scan_roam.c
@@ -2231,6 +2231,7 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle,
NULL, &scan_params);
if (roam_req->reason == REASON_ROAM_STOP_ALL ||
+ roam_req->reason == REASON_DISCONNECTED ||
roam_req->reason == REASON_ROAM_SYNCH_FAILED)
mode = WMI_ROAM_SCAN_MODE_NONE;
else