Merge "[Bugfix][T106BUG-610]Fix the coredump of lynq-qser-data-demo"
diff --git a/cap/zx297520v3/src/lynq/framework/lynq-ril-service/src/data/data.cpp b/cap/zx297520v3/src/lynq/framework/lynq-ril-service/src/data/data.cpp
index b05400c..c00501e 100755
--- a/cap/zx297520v3/src/lynq/framework/lynq-ril-service/src/data/data.cpp
+++ b/cap/zx297520v3/src/lynq/framework/lynq-ril-service/src/data/data.cpp
@@ -1705,7 +1705,7 @@
return;
}
RLOGD("lynq_apn_cid_table[j].cid %d and p_cur[i].cid %d", lynq_apn_cid_table[j].cid, p_cur[i].cid);
- if(lynq_apn_cid_table[j].cid == p_cur[i].cid)
+ if(lynq_apn_cid_table[j].cid == p_cur[i].cid && lynq_apn_cid_table[j].dialing != 1)
{
RLOGD("need update");
lynq_apn_cid_table[j].dialing = 0;
@@ -1717,7 +1717,7 @@
break;
}
}
- if(i == num)
+ if(i == num && lynq_apn_cid_table[j].dialing != 1)
{
RLOGD("clean start\n");
bzero(lynq_apn_cid_table[j].apn,LYNQ_APN_LEN_MAX);