diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 11:11:59 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 12:25:07 -0500 |
commit | 0c4a0e61b6e274eaae7e3ef11677000199c1b0f1 (patch) | |
tree | e8b9c9c5f54d5249d4b46ac2019253da736e3cfa /gatchat/gsmdial.c | |
parent | eeb3ccc321990ddf08645e7d6a31018a9e469bcb (diff) | |
download | ofono-0c4a0e61b6e274eaae7e3ef11677000199c1b0f1.tar.bz2 |
gsmdial: Update to new API
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r-- | gatchat/gsmdial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index a10e7cb4..f8a980ad 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -312,7 +312,7 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) g_at_chat_suspend(modem); /* open ppp */ - ppp = g_at_ppp_new_from_io(io); + ppp = g_at_ppp_new(); if (ppp == NULL) { g_print("Unable to create PPP object\n"); exit(1); @@ -329,7 +329,7 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) g_at_ppp_set_disconnect_function(ppp, ppp_disconnect, NULL); /* open the ppp connection */ - g_at_ppp_open(ppp); + g_at_ppp_open(ppp, io); } static void at_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data) |