From 3639a6415b9b72869751f5f5f217df722f4eedbf Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 9 Jun 2018 23:47:44 -0700 Subject: [PATCH] qcacld-3.0: Fix rrm_close() param Currently sme_close() passes a tHalHandle to rrm_close(), but a tpAniSirGlobal is expected. This currently compiles OK because tHalHandle is defined to be a void pointer, but this will be changed in the future so correct the call to pass the correct parameter. Change-Id: I51e19f9699ba8fe6db2318a59284b0fcc9185a6d CRs-Fixed: 2262688 --- 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 d28e56af12ac..85d049d14f01 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -2559,7 +2559,7 @@ QDF_STATUS sme_close(tHalHandle hHal) fail_status = status; } - status = rrm_close(hHal); + status = rrm_close(pMac); if (!QDF_IS_STATUS_SUCCESS(status)) { sme_err("RRM close failed with status: %d", status); fail_status = status;