From caebce0d729b59d6c458edf9af988c6a6915d240 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 12 Oct 2017 11:07:57 +0530 Subject: [PATCH] qcacld-3.0: Add support to enable/disable scans Add support to enable/disable scan for psoc. Change-Id: If4cc980e0575d9880e317bb8afe3467136d7864c CRs-Fixed: 2124783 --- 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 340bedd621fe..8405e063c438 100644 --- a/core/sme/src/common/sme_api.c +++ b/core/sme/src/common/sme_api.c @@ -842,7 +842,7 @@ void sme_set_scan_disable(tHalHandle h_hal, int value) { tpAniSirGlobal mac_ctx = PMAC_STRUCT(h_hal); - mac_ctx->lim.scan_disabled = value; + ucfg_scan_set_enable(mac_ctx->psoc, !value); } /* * sme_get_soft_ap_domain() - Get the current regulatory domain of softAp.