diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-02-28 14:27:50 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-28 16:13:56 -0600 |
commit | 6f8675d7fa9164fe4311b6f14bb211fb5ba098c1 (patch) | |
tree | aa1df69f62d05c4114113afcbbab16bbc146c51e /gatchat/gatppp.c | |
parent | ea56a7106759bb519775081bb90618fbcf91879e (diff) | |
download | ofono-6f8675d7fa9164fe4311b6f14bb211fb5ba098c1.tar.bz2 |
gatppp: Try to detect no carrier conditions
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r-- | gatchat/gatppp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |