[Bugfix][108][bug-view-1946][data] not active apn 1,  set cfun0, report apn state changed to not active

 Only Configure:No
 Affected branch:Na
 Affected module:data
 Is it affected on:only asr
 Self-test:Yes
 Doc Update:No

Change-Id: I3c71a0162ebf48297ee9f3cb19fdef65fb9cec43
diff --git a/mbtk/mbtk_rild/src/mbtk_info_server.c b/mbtk/mbtk_rild/src/mbtk_info_server.c
index 785e909..04d20ca 100755
--- a/mbtk/mbtk_rild/src/mbtk_info_server.c
+++ b/mbtk/mbtk_rild/src/mbtk_info_server.c
@@ -6968,8 +6968,15 @@
             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));
+                if(cid_active[pdp_cb_info->cid]!=0)   //LYNQ_ASR_BUG1946_Q.HUANG_20250808_ADD
+                {
+                    cid_active[pdp_cb_info->cid] = 0;
+                    pdp_state_change(pdp_cb_info, sizeof(mbtk_pdp_cb_info_s));
+                }
+                else
+                {
+                   LOGE("[%s] report cid disconnect, active flag has been 0", __func__, pdp_cb_info->cid); //LYNQ_ASR_BUG1946_Q.HUANG_20250808_ADD
+                }
             }
             else
             {