From 1d3f867e4d04520ab5a759db332d9e696acdf116 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 10 Jun 2018 18:24:15 -0700 Subject: [PATCH] qcacld-3.0: Correctly call csr_scan_flush_selective_result() Currently sme_scan_flush_p2p_result() passes a tHalHandle to csr_scan_flush_selective_result(), but a tpAniSirGlobal is expected, so correct the call to pass the correct parameter. Change-Id: Ibee01bb0606fc3d8a294b455f09c76823b8043bc CRs-Fixed: 2268803 --- 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 03765fb761..88858210a6 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2923,7 +2923,7 @@ QDF_STATUS sme_scan_flush_p2p_result(tHalHandle hHal, uint8_t sessionId) sessionId, 0)); status = sme_acquire_global_lock(&pMac->sme); if (QDF_IS_STATUS_SUCCESS(status)) { - status = csr_scan_flush_selective_result(hHal, true); + status = csr_scan_flush_selective_result(pMac, true); sme_release_global_lock(&pMac->sme); }