瀏覽代碼

qcacld-3.0: Assign lim_join_req in LFR2.0 reassociated case

session_entry->lim_join_req is NULL for LFR2.0 roaming case, but some
functions will access it like lim_check_oui_and_update_session(),
lim_get_cb_mode(). Temp assign session_entry->lim_join_req with
reassoc_req.

Change-Id: I1122f9dffea38741700599fbef10bb0d4972b1b0
CRs-Fixed: 2874885
Will Huang 4 年之前
父節點
當前提交
41829e661c
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 2 - 0
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -4395,6 +4395,7 @@ static void __lim_process_sme_reassoc_req(struct mac_context *mac_ctx,
 
 	/* Store the reassoc handle in the session Table */
 	session_entry->pLimReAssocReq = reassoc_req;
+	session_entry->lim_join_req = reassoc_req;
 
 	status = wlan_get_parsed_bss_description_ies(mac_ctx,
 				&session_entry->pLimReAssocReq->bssDescription,
@@ -4464,6 +4465,7 @@ static void __lim_process_sme_reassoc_req(struct mac_context *mac_ctx,
 		session_entry->htSmpsvalue,
 		session_entry->send_smps_action,
 		session_entry->supported_nss_1x1);
+	session_entry->lim_join_req = NULL;
 	/*
 	 * Reassociate request is expected
 	 * in link established state only.