Merge " [Feature][T106]version update to T106-V2.01.01.02P54U03.AP.11.01_CAP.11.01"
diff --git a/ap/app/zte_comm/at_ctl/src/atctrl/at_rcvmsg.c b/ap/app/zte_comm/at_ctl/src/atctrl/at_rcvmsg.c
index a40fd61..94c081f 100755
--- a/ap/app/zte_comm/at_ctl/src/atctrl/at_rcvmsg.c
+++ b/ap/app/zte_comm/at_ctl/src/atctrl/at_rcvmsg.c
@@ -898,7 +898,7 @@
ptr = PsmIndAtCmdPrefix;
while(NULL != (ptr1 = at_strstr(ptr, temp_prefix)))
{
- len_start += (int)(ptr1-PsmIndAtCmdPrefix);
+ len_start = (int)(ptr1-PsmIndAtCmdPrefix);//jb.qi change for while list SMS cant resume on 20240223
len_end = len_start+strlen(temp_prefix);
if(0 == len_start){
if(!isdigit(PsmIndAtCmdPrefix[len_end]) && !isalpha(PsmIndAtCmdPrefix[len_end])){
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
diff --git a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c
index 7bbbb3f..84375d3 100755
--- a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c
+++ b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c
@@ -1501,7 +1501,12 @@
err = at_send_command_singleline("AT+ZEMSCIQ?", "+ZEMSCIQ:", &p_response);
if (err < 0 || p_response->success == 0) {
- RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
+ //xy.he add for T106BUG-545 start
+ if(NULL!=t)
+ {
+ RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
+ }
+ //xy.he add for T106BUG-545 end
at_response_free(p_response);
return;
}