Parcourir la source

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
Vinod Kumar Myadam il y a 2 ans
Parent
commit
01153f2605
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      components/mlme/dispatcher/inc/cfg_mlme_sap.h

+ 2 - 2
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 \