From a1a36512c34c81dfe3588143c98003901ac84a23 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 18:20:55 -0700 Subject: [PATCH] qcacld-3.0: Correctly call csr_scan_flush_result() Currently sme_scan_flush_result() passes a tHalHandle to csr_scan_flush_result(), but a tpAniSirGlobal is expected, so correct the call to pass the correct parameter. Change-Id: I618ed5e16752eb6910060389f7c645b4e9ef5c83 CRs-Fixed: 2268802 --- core/sme/src/common/sme_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index a9b115ddb2da..03765fb7617d 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2880,7 +2880,7 @@ QDF_STATUS sme_scan_flush_result(tHalHandle hHal) 0, 0)); status = sme_acquire_global_lock(&pMac->sme); if (QDF_IS_STATUS_SUCCESS(status)) { - status = csr_scan_flush_result(hHal); + status = csr_scan_flush_result(pMac); sme_release_global_lock(&pMac->sme); }