mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacld-3.0: Use assoc req len from roam sync msg in if condition
Use assoc req from roam_sync_ind_ptr instead of ft_session_ptr in condition statement. assoc req from ft_session_ptr is not populated yet and hence will be 0 when the condition is invoked. This will cause if block to never execute. Change-Id: I9cd758674d13603087de013a0aea751032bc8603 CRs-Fixed: 957591
This commit is contained in:
parent
2ae038d42e
commit
db124a64e0
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2015 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -2037,7 +2037,7 @@ void lim_roam_offload_synch_ind(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
|
|||
/* Prepare the session right now with as much as possible */
|
||||
lim_fill_ft_session(pMac, bss_desc_ptr, ft_session_ptr, session_ptr);
|
||||
|
||||
if (ft_session_ptr->assocReqLen) {
|
||||
if (roam_sync_ind_ptr->reassoc_req_length) {
|
||||
/*
|
||||
* For LFR3 the Assoc Request frame was sent by firmware, hence
|
||||
* pe session struct does not have corresponding IEs. Firmware
|
||||
|
|
|
|||
Loading…
Reference in a new issue