소스 검색

qcacld-3.0: Send sta delete confirm to SME for partner link

Currently sta assoc confirm is sent to HDD for every link, so sta
delete confirm should be sent to HDD for every link too.

HDD layer needs sta assoc and delete confirm notification from lim.

Change-Id: Id46078db13f7dc569bb4466dfe685ad1a9ab7cea
CRs-Fixed: 3064782
Bing Sun 3 년 전
부모
커밋
7bceef962a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      core/mac/src/pe/lim/lim_assoc_utils.c

+ 1 - 2
core/mac/src/pe/lim/lim_assoc_utils.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 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
@@ -4367,8 +4368,6 @@ lim_prepare_and_send_del_sta_cnf(struct mac_context *mac, tpDphHashNode sta,
 				 pe_session->peSessionId,
 				 pe_session->limMlmState));
 	}
-	if (mlo_conn && !mlo_recv_assoc_frm && LIM_IS_AP_ROLE(pe_session))
-		return;
 
 	lim_send_del_sta_cnf(mac, sta_dsaddr, staDsAssocId, mlmStaContext,
 			     status_code, pe_session);