data_call: 解决赛格在cfun=0模式下网卡不释放,无回调信息,自动重拨Bug
Change-Id: Icd8777dc04b2c5431b93460fb2af4ffa9077a1aa
diff --git a/mbtk/mbtk_rild/src/main.c b/mbtk/mbtk_rild/src/main.c
index 2eac8a6..cce002a 100755
--- a/mbtk/mbtk_rild/src/main.c
+++ b/mbtk/mbtk_rild/src/main.c
@@ -54,6 +54,7 @@
extern mbtK_cell_pack_info_t cell_info;
extern info_cgact_wait_t cgact_wait;
extern bool at_process;
+extern bool at_cfun_command;
static bool is_first_boot = FALSE;
void setRadioPower(int isOn);
@@ -237,7 +238,7 @@
// +CGEV: NW REATTACH
else if(strStartsWith(s, "+CGEV:"))
{
- if(at_process) {
+ if(at_process && !at_cfun_command) {
if(cgact_wait.act) {
if(strStartsWith(s, "+CGEV: ME PDN ACT ")) { // +CGEV: ME PDN ACT 15,4
if(cgact_wait.cid == atoi(s + 18)) {