优化手机给模组打电话led的常亮
Change-Id: I98b2137cc6f0b765ca1867e01380bd5dc2192127
diff --git a/mbtk/mbtk_rild/src/main.c b/mbtk/mbtk_rild/src/main.c
index b532837..8741e8d 100755
--- a/mbtk/mbtk_rild/src/main.c
+++ b/mbtk/mbtk_rild/src/main.c
@@ -548,6 +548,12 @@
mbtk_net_led_set(MBTK_NET_LED_CALL_CONNECT);
}
+ if(reg.state == 4 && reg.dir == 1)
+ {
+ mbtk_net_led_set(MBTK_NET_LED_CALL_CONNECT);
+ }
+
+
urc_msg_distribute(false, INFO_URC_MSG_CALL_STATE, ®, sizeof(mbtk_call_info_t));
CLCC_EXIT:
free(free_ptr);