summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/sme/src/common/sme_api.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c
index 0ec6694f53d9..cbb373b7f91e 100644
--- a/core/sme/src/common/sme_api.c
+++ b/core/sme/src/common/sme_api.c
@@ -14869,14 +14869,6 @@ QDF_STATUS sme_send_flush_logs_cmd_to_fw(tpAniSirGlobal mac)
QDF_STATUS status;
cds_msg_t message;
- status = sme_acquire_global_lock(&mac->sme);
- if (status != QDF_STATUS_SUCCESS) {
- sms_log(mac, LOGE,
- FL("sme_acquire_global_lock failed!(status=%d)"),
- status);
- return status;
- }
-
/* Serialize the req through MC thread */
message.bodyptr = NULL;
message.type = SIR_HAL_FLUSH_LOG_TO_FW;
@@ -14887,7 +14879,6 @@ QDF_STATUS sme_send_flush_logs_cmd_to_fw(tpAniSirGlobal mac)
status);
status = QDF_STATUS_E_FAILURE;
}
- sme_release_global_lock(&mac->sme);
return status;
}