[Bugfix]Fix lynq-reset-apn error
Change-Id: Ib0482caa075a9da5ea8fdc45c7d89e485353401b
(cherry picked from commit 6f5380f2fd7938728cefe5c37777c0e14365259e)
diff --git a/src/lynq/lib/liblynq-data/lynq_data.cpp b/src/lynq/lib/liblynq-data/lynq_data.cpp
index 115e50f..a20513a 100755
--- a/src/lynq/lib/liblynq-data/lynq_data.cpp
+++ b/src/lynq/lib/liblynq-data/lynq_data.cpp
@@ -1109,6 +1109,7 @@
return -1;
}
waitApnResult();
+ strcpy(out, g_lynq_apn_result);
LYINFLOG(">>>>>output info:%s",out);
return 0;
}
@@ -1117,7 +1118,10 @@
{
Parcel p;
lynq_client_t client;
-
+ if (NULL == result)
+ {
+ LYERRLOG("incoming paramters error");
+ }
client.uToken = Global_uToken;
client.request = 2000 + 194;
client.paramLen = 0;
@@ -1134,4 +1138,4 @@
return 0;
}
-/*Typethree add for T800 platform 2022/04/21 end*/
\ No newline at end of file
+/*Typethree add for T800 platform 2022/04/21 end*/