mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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
This commit is contained in:
parent
df63a809a1
commit
85090c94e9
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,7 @@
|
|||
#include "wlan_objmgr_psoc_obj.h"
|
||||
#include <wlan_scan_ucfg_api.h>
|
||||
#include <wlan_tdls_tgt_api.h>
|
||||
#include <wlan_cfg80211_scan.h>
|
||||
|
||||
#define MAX_PWR_FCC_CHAN_12 8
|
||||
#define MAX_PWR_FCC_CHAN_13 2
|
||||
|
|
@ -21112,6 +21113,8 @@ 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);
|
||||
wlan_abort_scan(mac_ctx->pdev, INVAL_PDEV_ID,
|
||||
session_id, INVAL_SCAN_ID, false);
|
||||
return status;
|
||||
case SIR_ROAMING_ABORT:
|
||||
csr_roam_roaming_offload_timer_action(mac_ctx,
|
||||
|
|
|
|||
Loading…
Reference in a new issue