|
@@ -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);
|