浏览代码

qcacld-3.0: Notify MLO peer disconnect in lim_del_sta()

If association is rejected for a peer for which the driver
has station entry, the reference of MLO object manager is
not released for that peer as the state of ML peer is not
set to disconnect initiated. This results in reference leak
during driver unload or SSR.

Call lim_mlo_notify_peer_disconn() in during lim_del_sta()
which will change the peer state to disconnect initiated
for the peer.

Change-Id: Ia49d09c1bc94d7d0dce2c00950636ec9d7e9fe9d
CRs-Fixed: 3332635
Vinod Kumar Pirla 2 年之前
父节点
当前提交
518b65a0b4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/mac/src/pe/lim/lim_assoc_utils.c

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

@@ -2775,6 +2775,7 @@ lim_del_sta(struct mac_context *mac,
 	 * link peer before post WMA_DELETE_STA_REQ, which will free
 	 * wlan_objmgr_peer of the link peer
 	 */
+	lim_mlo_notify_peer_disconn(pe_session, sta);
 	lim_mlo_delete_link_peer(pe_session, sta);
 	/* Update PE session ID */
 	pDelStaParams->sessionId = pe_session->peSessionId;