summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Reddy Yeturu <varunreddy.yeturu@codeaurora.org>2017-08-15 14:29:32 -0700
committerVarun Reddy Yeturu <varunreddy.yeturu@codeaurora.org>2017-08-15 14:29:32 -0700
commitdcfdbf4f6c54f253bc0e7745eee562d1075b67b7 (patch)
tree85863534c40091d750fd4ab128474f65ef877600
parent590a54d9eed9098857c10231658d6781b21b6bc6 (diff)
qcacld-3.0: Reset bg_scan_client_bitmap after disconnection
Reset bg_scan_client_bitmap after disconnection so that the roaming module does not keep getting the scan notifications for other scans after disconnection Change-Id: Ief8333f9802868d63c22977640bea49a2c69f4a8 CRs-Fixed: 2093219
-rw-r--r--core/wma/src/wma_scan_roam.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/wma/src/wma_scan_roam.c b/core/wma/src/wma_scan_roam.c
index 109e8079cdfe..ba44fdc46dba 100644
--- a/core/wma/src/wma_scan_roam.c
+++ b/core/wma/src/wma_scan_roam.c
@@ -895,9 +895,10 @@ QDF_STATUS wma_roam_scan_offload_mode(tp_wma_handle wma_handle,
roam_req->assoc_ie.length);
}
- WMA_LOGD(FL("qos_caps: %d, qos_enabled: %d"),
+ WMA_LOGD(FL("qos_caps: %d, qos_enabled: %d, roam_scan_mode: %d"),
params->roam_offload_params.qos_caps,
- params->roam_offload_params.qos_enabled);
+ params->roam_offload_params.qos_enabled,
+ params->mode);
status = wmi_unified_roam_scan_offload_mode_cmd(wma_handle->wmi_handle,
scan_cmd_fp, params);
@@ -2005,6 +2006,12 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle,
roam_req->sessionId);
}
/*
+ * After sending the roam scan mode because of a disconnect,
+ * clear the scan bitmap client as well by sending
+ * the following command
+ */
+ wma_roam_scan_offload_rssi_thresh(wma_handle, roam_req);
+ /*
* If the STOP command is due to a disconnect, then
* send the filter command to clear all the filter
* entries. If it is roaming scenario, then do not