From adf800d07e5dcc222972a5c4e7ba4fea1b6ed219 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 18:00:00 -0700 Subject: [PATCH] qcacld-3.0: Pass correct param to csr_scan_get_result() In sme_scan_get_result() when calling csr_scan_get_result() a tHalHandle is currently being passed as the context parameter. csr_scan_get_result() is expecting a tpAniSirGlobal so pass the correct parameter. Change-Id: I6b704f4e1074b15cfbe86a539ac2dee60789e9e0 CRs-Fixed: 2268183 --- 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 4c326b8b63aa..504571ec37c1 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2597,7 +2597,7 @@ QDF_STATUS sme_scan_get_result(tHalHandle hHal, uint8_t sessionId, 0)); status = sme_acquire_global_lock(&pMac->sme); if (QDF_IS_STATUS_SUCCESS(status)) { - status = csr_scan_get_result(hHal, pFilter, phResult); + status = csr_scan_get_result(pMac, pFilter, phResult); sme_release_global_lock(&pMac->sme); }