Procházet zdrojové kódy

qcacld-3.0: Avoid resetting the limMlmState after assoc confirm

As part of assoc confirm, limMlmState is set to
eLIM_MLM_WT_DEL_BSS_RSP_STATE but in
lim_process_switch_channel_join_mlo its sets to eLIM_MLM_IDLE_STATE
leading to connect completion not completed as it expect
state as eLIM_MLM_WT_DEL_BSS_RSP_STATE, resulting in connect
command timeout.

To fix remove the resetting of limMlmState to eLIM_MLM_IDLE_STATE

Change-Id: I543eb25002859894eddc883c27a124d9fe713be7
CRs-Fixed: 3372631
Abhishek Singh před 2 roky
rodič
revize
9a21b9ec40

+ 1 - 3
core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. 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
@@ -2833,8 +2833,6 @@ lim_process_switch_channel_join_mlo(struct pe_session *session_entry,
 			assoc_cnf.sessionId = session_entry->peSessionId;
 			lim_post_sme_message(mac_ctx, LIM_MLM_ASSOC_CNF,
 					(uint32_t *)&assoc_cnf);
-
-			session_entry->limMlmState = eLIM_MLM_IDLE_STATE;
 			qdf_mem_free(link_assoc_rsp.ptr);
 		}
 	}