From 6f8675d7fa9164fe4311b6f14bb211fb5ba098c1 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 28 Feb 2011 14:27:50 -0600 Subject: [PATCH] gatppp: Try to detect no carrier conditions --- gatchat/gatppp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c index f8b329b6..993b5ea2 100644 --- a/gatchat/gatppp.c +++ b/gatchat/gatppp.c @@ -551,6 +551,7 @@ static GAtPPP *ppp_init_common(GAtHDLC *hdlc, gboolean is_server, guint32 ip) /* initialize IPCP state */ ppp->ipcp = ipcp_new(ppp, is_server, ip); + g_at_hdlc_set_no_carrier_detect(ppp->hdlc, TRUE); g_at_hdlc_set_receive(ppp->hdlc, ppp_receive, ppp); g_at_io_set_disconnect_function(g_at_hdlc_get_io(ppp->hdlc), io_disconnect, ppp);