diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 11:12:13 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 12:25:08 -0500 |
commit | 17deacbfff7428b7c539e4609fcabcc0aabf0039 (patch) | |
tree | 805b6ee459c846294016c8a89a1efe5b8bcb38df | |
parent | 0c4a0e61b6e274eaae7e3ef11677000199c1b0f1 (diff) | |
download | ofono-17deacbfff7428b7c539e4609fcabcc0aabf0039.tar.bz2 |
atmodem: Update to new GAtPPP api
-rw-r--r-- | drivers/atmodem/gprs-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atmodem/gprs-context.c b/drivers/atmodem/gprs-context.c index ba95cbfe..9e3f9cbc 100644 --- a/drivers/atmodem/gprs-context.c +++ b/drivers/atmodem/gprs-context.c @@ -142,7 +142,7 @@ static gboolean setup_ppp(struct ofono_gprs_context *gc) g_at_chat_suspend(gcd->chat); /* open ppp */ - gcd->ppp = g_at_ppp_new_from_io(io); + gcd->ppp = g_at_ppp_new(); if (gcd->ppp == NULL) { g_at_chat_resume(gcd->chat); @@ -159,7 +159,7 @@ static gboolean setup_ppp(struct ofono_gprs_context *gc) g_at_ppp_set_disconnect_function(gcd->ppp, ppp_disconnect, gc); /* open the ppp connection */ - g_at_ppp_open(gcd->ppp); + g_at_ppp_open(gcd->ppp, io); return TRUE; } |