浏览代码

qcacmn: Remove DP mlo context only after all soc are brought down

DP mlo context should be removed only after all socs are down.
In case of target recovery it was getting removed before socs/vaps
are down. Fix this to avoid invalid access

Change-Id: Icc62758ed2b62070428548476e33df4065948948
CRs-Fixed: 3376670
Surya Prakash Raajen 2 年之前
父节点
当前提交
321b889b11
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      umac/mlo_mgr/src/wlan_mlo_mgr_setup.c

+ 1 - 2
umac/mlo_mgr/src/wlan_mlo_mgr_setup.c

@@ -1,4 +1,4 @@
-/* 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 above
@@ -931,7 +931,6 @@ QDF_STATUS mlo_link_teardown_link(struct wlan_objmgr_psoc *psoc,
 
 	if (reason == WMI_MLO_TEARDOWN_REASON_SSR) {
 		/* do not wait for teardown event completion here for SSR */
-		mlo_dp_ctxt_detach(psoc, grp_id, setup_info->dp_handle);
 		return QDF_STATUS_SUCCESS;
 	}