From 01153f2605cc87a3ea553dac6eea5fd68c49cc50 Mon Sep 17 00:00:00 2001 From: Vinod Kumar Myadam Date: Thu, 23 Mar 2023 19:40:20 +0530 Subject: [PATCH] qcacld-3.0: Fix in parsing INI macro In CFG_SAP_PS_WITH_TWT and CFG_DISABLE_SAP_BCN_PROT, passing value as string instead of numeric. Causes wrong value while macro expansion. Passing enum value of false in CFG_SAP_PS_WITH_TWT and CFG_DISABLE_SAP_BCN_PROT. Change-Id: Ib8b297ef69cebb71c1e6645f49a75e79393b8c94 CRs-Fixed: 3440741 --- components/mlme/dispatcher/inc/cfg_mlme_sap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_sap.h b/components/mlme/dispatcher/inc/cfg_mlme_sap.h index f2a0689a2a..1576a0679e 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_sap.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_sap.h @@ -766,7 +766,7 @@ */ #define CFG_DISABLE_SAP_BCN_PROT CFG_INI_BOOL(\ "disable_sap_bcn_prot", \ - "0", \ + false, \ "Disable beacon protection for SAP") /* @@ -790,7 +790,7 @@ */ #define CFG_SAP_PS_WITH_TWT CFG_INI_BOOL(\ "g_sap_ps_with_twt_enable", \ - "0", \ + false, \ "Enable/Disable SAP power save with twt") #define CFG_SAP_ALL \