From 321b889b114e2a99cbb68f5066d4b1844c45c8e7 Mon Sep 17 00:00:00 2001 From: Surya Prakash Raajen Date: Tue, 24 Jan 2023 12:03:47 +0530 Subject: [PATCH] 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 --- umac/mlo_mgr/src/wlan_mlo_mgr_setup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/umac/mlo_mgr/src/wlan_mlo_mgr_setup.c b/umac/mlo_mgr/src/wlan_mlo_mgr_setup.c index 3dc88d7d7b..0a5f35dafd 100644 --- a/umac/mlo_mgr/src/wlan_mlo_mgr_setup.c +++ b/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; }