From 9a3417c2dfd7e051fda44b5d337d14aa0fa48a62 Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Thu, 20 Oct 2016 15:45:49 +0530 Subject: 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 --- core/sme/src/common/sme_api.c | 9 --------- 1 file changed, 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; } -- cgit v1.2.3