From 1b56f6bfc91c8edfef8f61de0d67221ef321ecc7 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 18:17:10 -0700 Subject: [PATCH] qcacld-3.0: Correctly call csr_scan_get_result_for_bssid() Currently sme_scan_get_result_for_bssid() passes a tHalHandle to csr_scan_get_result_for_bssid(), but a tpAniSirGlobal is expected, so correct the call to pass the correct parameter. Change-Id: I7fd7c06f320e14278cb621415bc4631d9c83b5d4 CRs-Fixed: 2268801 --- 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 504571ec37c1..a9b115ddb2da 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2613,7 +2613,7 @@ QDF_STATUS sme_scan_get_result_for_bssid(tHalHandle hal_handle, status = sme_acquire_global_lock(&mac_ctx->sme); if (QDF_IS_STATUS_SUCCESS(status)) { - status = csr_scan_get_result_for_bssid(hal_handle, bssid, res); + status = csr_scan_get_result_for_bssid(mac_ctx, bssid, res); sme_release_global_lock(&mac_ctx->sme); }