From 481a9dfb4c3aecfa4de036a93853a5321993789a Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Wed, 26 Jul 2017 12:10:43 -0700 Subject: [PATCH] qcacmn: Avoid deadlock while protecting connection list Avoid deadlock while protecting connection list during SAP channel switch. Change-Id: Ib4f8bd3e185b3dd6bd746e49645b6456dca50e96 CRs-Fixed: 2088106 --- umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c index c828a3ae1491..bc208a838c2a 100644 --- a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c +++ b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c @@ -705,11 +705,9 @@ void policy_mgr_check_sta_ap_concurrent_ch_intf(void *data) policy_mgr_err("SAP restart get channel callback in NULL"); goto end; } - qdf_mutex_acquire(&pm_ctx->qdf_conc_list_lock); status = pm_ctx->hdd_cbacks. wlan_hdd_get_channel_for_sap_restart(psoc, vdev_id, &channel, &sec_ch); - qdf_mutex_release(&pm_ctx->qdf_conc_list_lock); if (status != QDF_STATUS_SUCCESS) { policy_mgr_err("Failed to switch SAP channel"); goto end;