qcacld-3.0: Lock leak in function policy_mgr_is_restart_sap_required
In case of failure policy_mgr_is_restart_sap_required returns without releasing the lock. This leads to lock leak. Fix is to release the lock before return in case of failure. Change-Id: I032a6902de1bd0c8f87b660aac98a2fb08dd3f10 CRs-Fixed: 3269538
This commit is contained in:

committato da
Madan Koyyalamudi

parent
ea7b73b001
commit
4bc3ce90dd
@@ -8406,6 +8406,7 @@ bool policy_mgr_is_restart_sap_required(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
if (i == MAX_NUMBER_OF_CONC_CONNECTIONS) {
|
||||
policy_mgr_err("Invalid vdev id: %d", vdev_id);
|
||||
qdf_mutex_release(&pm_ctx->qdf_conc_list_lock);
|
||||
return false;
|
||||
}
|
||||
sta_sap_scc_on_dfs_chan =
|
||||
|
Fai riferimento in un nuovo problema
Block a user