ソースを参照

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
Naveen Rawat 9 年 前
コミット
8773696a27
1 ファイル変更2 行追加2 行削除
  1. 2 2
      core/mac/src/pe/lim/lim_api.c

+ 2 - 2
core/mac/src/pe/lim/lim_api.c

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