[Bugfix][API-860][Data]Try to fix Data 8004 problem

Change-Id: Ie566db12a3a8d0f2ff2e4a2fdb637cab2ce78dce
diff --git a/lib/liblynq-data/lynq_data.cpp b/lib/liblynq-data/lynq_data.cpp
index 7fac4a6..c0af733 100755
--- a/lib/liblynq-data/lynq_data.cpp
+++ b/lib/liblynq-data/lynq_data.cpp
@@ -627,6 +627,7 @@
         LYERRLOG("update apn table fail error id = %d",lynq_data_call_id);
         return -1;
     }
+    lynq_data_call = 1;
     pthread_mutex_lock(&g_lynq_data_sendto_mutex);
     if(send_request(lynq_client_sockfd,&client)==-1)
     {
@@ -638,7 +639,6 @@
     pthread_mutex_unlock(&g_lynq_data_sendto_mutex);
     JumpHeader(p,&resp_type,&request,&slot_id,&error);
     LYINFLOG("resp_type=%d,request=%d,slot_id=%d,error_code=%d",resp_type,request,slot_id,error);
-    lynq_data_call = 1;
     if(error==0)
     {
         if (waitDataCallstateChange(60000) == ETIMEDOUT) // 60s
@@ -776,6 +776,7 @@
         LYERRLOG("update apn table fail error id = %d",lynq_data_call_id);
         return -1;
     }
+    lynq_data_call = 1;
     pthread_mutex_lock(&g_lynq_data_sendto_mutex);
     if(send_request(lynq_client_sockfd,&client)==-1)
     {
@@ -787,7 +788,6 @@
     pthread_mutex_unlock(&g_lynq_data_sendto_mutex);
     JumpHeader(p,&resp_type,&request,&slot_id,&error);
     LYINFLOG("resp_type=%d,request=%d,slot_id=%d,error_code=%d",resp_type,request,slot_id,error);
-    lynq_data_call = 1;
     if(error==0)
     {
         if(waitDataCallstateChange(60000)==ETIMEDOUT)//60s