summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukul Sharma <mukul@codeaurora.org>2016-10-20 15:45:49 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-11-10 07:24:44 -0800
commit9a3417c2dfd7e051fda44b5d337d14aa0fa48a62 (patch)
treec4a0f33cb326560a7fc9dfdfb8b8fc911065b069
parentad09fa8a9b381cde059cf656bb75dd31fffd06eb (diff)
qcacld-3.0: Remove sme global lock while sending flush log cmd
qcacld-2.0 to qcacld-3.0 propagation Currently, host takes sme global mutex lock while sending flush log cmd to firmware. This api is also invoked from softirq context hence leading to crash. As a part of this fix, Remove Sme lock because host does not modify the sme global parameters during sending this cmd to firmware. Change-Id: If6620d458f54563ea7e9f944721498184fbbdb5d CRs-Fixed: 1073915
-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;
}