[Feature][task-view-306]merge P56U08(patch6) version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I8e809511ac30c97228dd110c304b4a08f4af36d7
diff --git a/ap/app/zte_comm/sntp/sntp.c b/ap/app/zte_comm/sntp/sntp.c
index 976f610..3a845c5 100755
--- a/ap/app/zte_comm/sntp/sntp.c
+++ b/ap/app/zte_comm/sntp/sntp.c
@@ -21,6 +21,7 @@
 //#include "cfg_api.h"
 //#include "at_com.h"
 #include "sntp.h"
+#include "pub_debug_info.h"
 
 
 /**************************************************************************
@@ -36,6 +37,8 @@
 int g_sntp_success_count = 0;
 
 int g_sntp_sync_interval_time = 1;     //ͬ²½³É¹¦ºó£¬ÔÙ´Î×Ô¶¯Í¬²½µÄ¼ä¸ôʱ¼ä£¬µ¥Î»:Ìì
+char MODULE_ID_SNTP_DEBUG[20] = "ap_sntp";
+
 // ¶Ôsem_idÖ´ÐÐp²Ù×÷
 static int sem_p(int sem_id)
 {
@@ -547,6 +550,7 @@
 
 	if (0 == settimeofday(&tp, NULL)) {
 		system("zte-rtc-clock");
+		sc_debug_info_record(MODULE_ID_SNTP_DEBUG, "sntp time synchronization successful!\n");
 		slog(MISC_PRINT, SLOG_DEBUG, "[zyl]system zte-rtc-clock \n");
 	}