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
This commit is contained in:
Sandeep Puligilla 2015-11-24 17:19:48 -08:00 • committed by Satish Singh
commit 4f1ae707e7

View file

@ -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,