Browse Source

qcacmn: Release mutex lock only once

In mlo_is_sta_csa_synced the mlo dev context lock is released
twice resulting in assert.

Release the mlo mutex once to avoid the assert

CRs-Fixed: 3598455
Change-Id: I1ceb797ddcaa8c57b8e7218c5b6aebf8d0136ab5
Arun Kumar Khandavalli 1 year ago
parent
commit
0d54df03f9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

+ 0 - 1
umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

@@ -1892,7 +1892,6 @@ bool mlo_is_sta_csa_synced(struct wlan_mlo_dev_context *mlo_dev_ctx,
 		if (link_id == sta_ctx->mlo_csa_param[i].link_id &&
 		    (sta_ctx->mlo_csa_param[i].valid_csa_param ||
 		     sta_ctx->mlo_csa_param[i].mlo_csa_synced)) {
-			mlo_dev_lock_release(mlo_dev_ctx);
 			sta_csa_synced =
 				sta_ctx->mlo_csa_param[i].mlo_csa_synced;
 			break;