mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Fix improper handling of lkSmeGlobalLock
sme_acquire_global_lock was used in couple of places without proper handling of releasing the acquired lock. Fix the improper handling of lkSmeGlobalLock in multiple funcitons. Change-Id: Ib6cd43fae3fe522fc6388815581389592d3e70f8 CRs-Fixed: 2086102
This commit is contained in:
parent
487e0ed805
commit
cbb5b956c3
1 changed files with 3 additions and 3 deletions
|
|
@ -12834,7 +12834,7 @@ QDF_STATUS sme_set_epno_list(tHalHandle hal,
|
|||
}
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
sme_err("sme_acquire_global_lock failed!(status=%d)",
|
||||
status);
|
||||
qdf_mem_free(req_msg);
|
||||
|
|
@ -12901,7 +12901,7 @@ QDF_STATUS sme_set_passpoint_list(tHalHandle hal,
|
|||
}
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
sme_err("sme_acquire_global_lock failed!(status=%d)",
|
||||
status);
|
||||
qdf_mem_free(req_msg);
|
||||
|
|
@ -12948,7 +12948,7 @@ QDF_STATUS sme_reset_passpoint_list(tHalHandle hal,
|
|||
req_msg->session_id = input->session_id;
|
||||
|
||||
status = sme_acquire_global_lock(&mac->sme);
|
||||
if (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
sme_err("sme_acquire_global_lock failed!(status=%d)",
|
||||
status);
|
||||
qdf_mem_free(req_msg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue