Bug 86852 - 【systime】ntp的enable容错问题,可以传错误的值

Change-Id: Ife9e5d2a07319a153f230cf9351d0d0034438eb9
diff --git a/mbtk/liblynq_lib/src/lynq_time.c b/mbtk/liblynq_lib/src/lynq_time.c
index 71fd9e3..55f3ef3 100644
--- a/mbtk/liblynq_lib/src/lynq_time.c
+++ b/mbtk/liblynq_lib/src/lynq_time.c
@@ -162,6 +162,10 @@
 
 int ntp_sync_time(int enable)
 {
+    if(0 != enable && 1 != enable)
+    {
+        return -1;
+    }
     UNUSED(enable);
     int ntp_status = 0;
     if(enable)