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:
Naveen Rawat
2015-12-29 08:43:28 -08:00
gecommit door Akash Patel
bovenliggende 1a934bdc7a
commit 8773696a27

Bestand weergeven

@@ -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