Browse Source

qcacmn: Avoid deadlock while protecting connection list

Avoid deadlock while protecting connection list during SAP channel
switch.

Change-Id: Ib4f8bd3e185b3dd6bd746e49645b6456dca50e96
CRs-Fixed: 2088106
Tushnim Bhattacharyya 7 years ago
parent
commit
481a9dfb4c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

+ 0 - 2
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;