diff options
| author | Varun Reddy Yeturu <varunreddy.yeturu@codeaurora.org> | 2018-01-26 12:06:47 -0800 |
|---|---|---|
| committer | Varun Reddy Yeturu <varunreddy.yeturu@codeaurora.org> | 2018-02-01 17:12:00 -0800 |
| commit | 5c22ef54042de05ddf09d875e34f81d7ade3b15c (patch) | |
| tree | e4da47eb08ed4f6d1b623eeea36be0615b142cf1 | |
| parent | bbdec2ed4ad4bb24d512761a58858ba18b001e41 (diff) | |
qcacld-3.0: Cancel scans during roaming
Upon receiving a ROAM_START from the firmware,
cancel the current scans which is similar to
initial connection which will avoid unnecessary
frames to the host during the connection process.
Change-Id: I0c9a4dd7cd4d58e0583cc44b5e33e88728eb70bb
CRs-Fixed: 2174921
| -rw-r--r-- | core/sme/src/csr/csr_api_roam.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index dd308c9b309f..147f56a2491d 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -21617,6 +21617,13 @@ static QDF_STATUS csr_process_roam_sync_callback(tpAniSirGlobal mac_ctx, ROAMING_OFFLOAD_TIMER_START); csr_roam_call_callback(mac_ctx, session_id, NULL, 0, eCSR_ROAM_START, eCSR_ROAM_RESULT_SUCCESS); + /* + * Inform HDD about roam start using above callback + * which will take care of blocking incoming scan + * requests during roaming and then call the below + * API to cancel all the active scans. + */ + csr_scan_abort_mac_scan_not_for_connect(mac_ctx, session_id); return status; case SIR_ROAMING_ABORT: csr_roam_roaming_offload_timer_action(mac_ctx, |
