summaryrefslogtreecommitdiff
path: root/drivers/cdmamodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-05-24 11:12:38 -0500
committerDenis Kenzior <denkenz@gmail.com>2011-05-24 12:25:08 -0500
commit6d5b7d0bffa97fbf906ddaf011ef03f5f99c5af9 (patch)
treedaaf0f1116b128294325d6c345ae751ccab90449 /drivers/cdmamodem
parent17deacbfff7428b7c539e4609fcabcc0aabf0039 (diff)
downloadofono-6d5b7d0bffa97fbf906ddaf011ef03f5f99c5af9.tar.gz
cdmamodem: Update to the new GAtPPP API
Diffstat (limited to 'drivers/cdmamodem')
-rw-r--r--drivers/cdmamodem/connman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cdmamodem/connman.c b/drivers/cdmamodem/connman.c
index d5634133..14c78b1c 100644
--- a/drivers/cdmamodem/connman.c
+++ b/drivers/cdmamodem/connman.c
@@ -131,7 +131,7 @@ static gboolean setup_ppp(struct ofono_cdma_connman *cm)
g_at_chat_suspend(cd->chat);
/* open ppp */
- cd->ppp = g_at_ppp_new_from_io(io);
+ cd->ppp = g_at_ppp_new();
if (cd->ppp == NULL) {
g_at_chat_resume(cd->chat);
@@ -146,7 +146,7 @@ static gboolean setup_ppp(struct ofono_cdma_connman *cm)
g_at_ppp_set_disconnect_function(cd->ppp, ppp_disconnect, cm);
/* open the ppp connection */
- g_at_ppp_open(cd->ppp);
+ g_at_ppp_open(cd->ppp, io);
return TRUE;
}