[Bugfix][T106BUG-549][AUTOSUSPEND]sys can be resumed because of wifi
Only Configure:No
Affected branch:master
Affected module:autosuspend
Is it affected on both ZXIC and MTK:Only ZXIC
Self-test:Yes
Doc Update:No
Change-Id: Ic3ae6ee273502b84dbd2a6f1ed126e7f435410ba
diff --git a/ap/app/zte_mdl/zte_mdl.c b/ap/app/zte_mdl/zte_mdl.c
index 1142fb0..e3d50ce 100755
--- a/ap/app/zte_mdl/zte_mdl.c
+++ b/ap/app/zte_mdl/zte_mdl.c
@@ -88,7 +88,9 @@
}
void wlan_entry(char *arg)
{
+#if (defined _USE_VEHICLE_DC_REF)&&(defined _USE_VEHICLE_DC_REF_MMC0) //jb.qi add for wifi config on 20240301
wlan_main(0,NULL);
+#endif
return;
}
void fota_dm_entry(char *arg)
diff --git a/ap/build/libps_libs.mk b/ap/build/libps_libs.mk
index 1283364..3d23159 100755
--- a/ap/build/libps_libs.mk
+++ b/ap/build/libps_libs.mk
@@ -135,6 +135,9 @@
ifeq ($(USE_VEHICLE_DC_REF),yes)
KERNEL_EXT_CFLAGS += -D_USE_VEHICLE_DC_REF
+#jb.qi add for wifi config on 20240301 start
+#KERNEL_EXT_CFLAGS += -D_USE_VEHICLE_DC_REF_MMC0
+#jb.qi add for wifi config on 20240301 end
endif
KERNEL_EXT_CFLAGS += -DDDR_BASE_ADDR_LINUX_VA
@@ -177,4 +180,4 @@
ifeq ($(ALSA_CODEC_IN_CAP),yes)
KERNEL_EXT_CFLAGS += -D_ALSA_CODEC_IN_CAP
-endif
\ No newline at end of file
+endif