close auto data_call

Change-Id: I1407802e3c0aa507934e82099f8215d4f95f4890
diff --git a/mbtk/mbtk_rild/src/mbtk_info_server.c b/mbtk/mbtk_rild/src/mbtk_info_server.c
index 7a51c7e..3ebaf1a 100755
--- a/mbtk/mbtk_rild/src/mbtk_info_server.c
+++ b/mbtk/mbtk_rild/src/mbtk_info_server.c
@@ -5556,13 +5556,13 @@
                                 err = MBTK_INFO_ERR_CID_EXIST;
                                 break;
                             }
-
+#if 0
                             if(mbtk_check_default_pdp_state(cid))
                             {
                                 err = MBTK_INFO_ERR_UNSUPPORTED;
                                 break;
                             }
-
+#endif
                             data_call_reconn:
                             //mbtk wyq for data_call_ex add end
                             cgact_wait.waitting = true;
@@ -5707,7 +5707,7 @@
                                     }
 
                                     cid_active[cid] = 1;
-                                    mbtk_set_default_pdp_state(true, cid);
+                                    //mbtk_set_default_pdp_state(true, cid);
                                     //mbtk_qser_route_config(cid, &ipv4, &ipv6);
                                     if(cli_info->fd != DATA_CALL_BOOTCONN_FD)
                                     {
@@ -5769,7 +5769,7 @@
                                 pack_rsp_send(cli_info->fd , MBTK_INFO_ID_IND_PDP_STATE_CHANGE, &pdp_cb_info, sizeof(mbtk_pdp_cb_info_s));
                                 
                                 cid_active[cid] = 0;
-                                mbtk_set_default_pdp_state(false, cid);
+                                //mbtk_set_default_pdp_state(false, cid);
                                 mbtk_net_led_set(MBTK_NET_LED_NET_CONNECT);
                                 pack_rsp_send(cli_info->fd, MBTK_INFO_ID_NET_DATA_CALL_RSP, NULL, 0);
                                 break;
@@ -5812,7 +5812,7 @@
                                 }
 #endif
                                 cid_active[cid] = 0;
-                                mbtk_set_default_pdp_state(false, cid);
+                                //mbtk_set_default_pdp_state(false, cid);
                                 mbtk_net_led_set(MBTK_NET_LED_NET_CONNECT);
                                 pack_rsp_send(cli_info->fd, MBTK_INFO_ID_NET_DATA_CALL_RSP, NULL, 0);
                             }
@@ -6881,6 +6881,7 @@
     }
 }
 
+#if 0
 static void data_call_restart()
 {
 #if 0
@@ -6933,6 +6934,7 @@
     }
     //at_process = false;
 }
+#endif
 
 static void urc_msg_process(info_urc_msg_t *msg)
 {
@@ -6953,8 +6955,16 @@
         case INFO_URC_MSG_CGEV:
         {
             mbtk_pdp_cb_info_s *pdp_cb_info = (mbtk_pdp_cb_info_s *)(msg->data);
-            net_ifc_state_change(pdp_cb_info->connect_state, pdp_cb_info->cid, NULL);
-            pdp_state_change(pdp_cb_info, sizeof(mbtk_pdp_cb_info_s));
+            if(pdp_cb_info->cid >= MBTK_APN_CID_MIN && pdp_cb_info->cid <= MBTK_APN_CID_MAX)
+            {
+                net_ifc_state_change(pdp_cb_info->connect_state, pdp_cb_info->cid, NULL);
+                cid_active[pdp_cb_info->cid] = 0;
+                pdp_state_change(pdp_cb_info, sizeof(mbtk_pdp_cb_info_s));
+            }
+            else
+            {
+                LOGD("[%s] pdp_cb_info->cid unknown.[%d]", __func__, pdp_cb_info->cid);
+            }
             break;
         }
         case INFO_URC_MSG_PDP_STATE:
@@ -6985,10 +6995,11 @@
                 {
                     net_data[2] = info.net_type;
                     net_state_change(net_data, sizeof(net_data));
-
+#if 0
                     if(info.net_type >= MBTK_RADIO_TECH_UTRAN) {
                         data_call_restart();
                     }
+#endif
                 } else {
                     net_data[2] = (uint8)0xFF;
                     net_state_change(net_data, sizeof(net_data));