mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Use session_id param for csr_roam_offload_scan
When Pre-Auth is failed, it will go to ROAM_SCAN_OFFLOAD_START or ROAM_SCAN_OFFLOAD_RESTART process, it always uses zero as session_id param for csr_roam_offload_scan, it's wrong, session_id should be variable value. Fix is to use variable session_id param for csr_roam_offload_scan. Change-Id: Iaf5f234dc73001440aaf02d7931c7891903f9148 CRs-Fixed: 2239812
This commit is contained in:
parent
186d7a008c
commit
8f0dd69415
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -368,11 +368,11 @@ ABORT_PREAUTH:
|
|||
if (csr_roam_is_roam_offload_scan_enabled(mac_ctx)) {
|
||||
if (neighbor_roam_info->uOsRequestedHandoff) {
|
||||
neighbor_roam_info->uOsRequestedHandoff = 0;
|
||||
csr_roam_offload_scan(mac_ctx, 0,
|
||||
csr_roam_offload_scan(mac_ctx, session_id,
|
||||
ROAM_SCAN_OFFLOAD_START,
|
||||
REASON_PREAUTH_FAILED_FOR_ALL);
|
||||
} else {
|
||||
csr_roam_offload_scan(mac_ctx, 0,
|
||||
csr_roam_offload_scan(mac_ctx, session_id,
|
||||
ROAM_SCAN_OFFLOAD_RESTART,
|
||||
REASON_PREAUTH_FAILED_FOR_ALL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue