[Feature][T106BUG-560]Fixed the problem that the callback function would not be triggered after repeated initialization

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

Change-Id: I85775ff276c429396c368f9f3758796a373af330
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp
index 93494ca..f3ebce3 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-data/lynq-qser-data.cpp
@@ -1261,9 +1261,11 @@
         LYERRLOG("init incoming paramters error");
         return RESULT_ERROR;
     }
-
-    s_data_call_cb = evt_cb;
-    
+    if(g_lynq_qser_data_init_flag == 1)
+    {
+        LYERRLOG("init twice is not allowed");
+        return RESULT_ERROR;
+    }
     ret = lynq_init_data(utoken);
     if (ret != RESULT_OK)
     {
@@ -1285,6 +1287,7 @@
         LYERRLOG("clean handle error");
         return RESULT_ERROR;
     }
+    s_data_call_cb = evt_cb;
     g_lynq_qser_data_init_flag = 1;
     return RESULT_OK;
 }