Squashed 'LYNQ_PUBLIC/' changes from f3167cdb0..3d04c4df6
3d04c4df6 [Feature][T8TSK-289] chagne packagegroup-lync-mt2735 to packagegroup-lynq-mt2735
5a98de181 Merge "[Feature][ZK-65][mtklog] ftp log to soc 2 set max syslog size to 2700M"
dca9ff302 [Feature][ZK-65][mtklog] ftp log to soc 2 set max syslog size to 2700M
d36491f92 Merge "[Feature][ZK-65][mtklog] ftp log to soc"
4e37932a9 [Feature][T8TSK-289] add liblynq-at-fota, lynq-log-transfer & change packagegroup-lync-mt2735
5c0d3160b [Feature][ZK-65][mtklog] ftp log to soc
be7540ca5 [Feature][T8TSK-305][FOTA]fix fota to mergev2.0
305fadcb2 [bugfix][API-1525][call] answer call sometimes fail
b26cb1ccb [Feature][T8TSK-289] merge rndis_status of uci config from old platform branch
e1d75e9dc [Feature][T8TSK-289] merge lynq-ril-service from old platform branch
604e75d9c Merge "[Feature][T8TSK-289] add at+gpsinfo command"
67117dd03 Merge "[Feature][T8TSK-289] merge liblynq-sim from old platform branch"
24d54af81 [Feature][T8TSK-289] merge liblynq-sim from old platform branch
b990775f9 [Feature][T8TSK-289] add at+gpsinfo command
7a54b2130 [Feature][T8TSK-289] temp fix circle reboot caused by fota backup
git-subtree-dir: LYNQ_PUBLIC
git-subtree-split: 3d04c4df6c666dad1d8f09839b8f4989e26d22a4
Change-Id: I998dc04ab224e6fefdd82db6370791456784c560
diff --git a/common_src/framework/lynq-ril-service/src/led/led.cpp b/common_src/framework/lynq-ril-service/src/led/led.cpp
index 62e4b11..a252764 100755
--- a/common_src/framework/lynq-ril-service/src/led/led.cpp
+++ b/common_src/framework/lynq-ril-service/src/led/led.cpp
@@ -273,24 +273,25 @@
mbtk_netled_reg_net_status mbtk_get_reg_net_status(void)
{
- mbtk_netled_reg_net_status reg_net_status = NET_REG_FAIL;
-
if(false == ril_get_if_insert_simcard())
{
RLOGE("ril_get_if_insert_simcard false" );
- reg_net_status = NET_REG_FAIL;
- return reg_net_status;
+ return NET_REG_FAIL;
}
if(true == ril_get_if_3gpp_reg_success())
{
RLOGD("ril_get_if_3gpp_reg_success true");
- reg_net_status = NET_REG_SUCCESS;
- return reg_net_status;
+ return NET_REG_SUCCESS;
}
- return reg_net_status;
+ if(true == ril_get_if_3gpp_data_reg_success())
+ {
+ RLOGD("ril_get_if_3gpp_data_reg_success true");
+ return NET_REG_SUCCESS;
+ }
+ return NET_REG_FAIL;
}
/*=============================================
@@ -504,7 +505,6 @@
}
}
-
/*=============================================
FUNCTION
mbtk_netled_reflash_handle