From 4f1ae707e7e75f011ba3864a2b15762bc78ef564 Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Tue, 24 Nov 2015 17:19:48 -0800 Subject: [PATCH] qcacld-3.0: unlock the sme scan active list Sme is stuck due to scan active list mutex lock. Release the sme scan active list lock if the active list is empty. Change-Id: Id05c642fe6fad30e40efa18a213158c331b5a502 CRs-Fixed: 943583 --- core/sme/src/csr/csr_api_scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sme/src/csr/csr_api_scan.c b/core/sme/src/csr/csr_api_scan.c index 806d5b5f4569..6bfda4cccdd1 100644 --- a/core/sme/src/csr/csr_api_scan.c +++ b/core/sme/src/csr/csr_api_scan.c @@ -4082,6 +4082,7 @@ CDF_STATUS csr_get_active_scan_entry(tpAniSirGlobal mac_ctx, LL_ACCESS_NOLOCK)) { sms_log(mac_ctx, LOGE, FL(" Active list Empty scanId: %d"), scan_id); + csr_ll_unlock(&mac_ctx->sme.smeScanCmdActiveList); return CDF_STATUS_SUCCESS; } localentry = csr_ll_peek_head(&mac_ctx->sme.smeScanCmdActiveList,