diff options
author | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 11:12:38 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-24 12:25:08 -0500 |
commit | 6d5b7d0bffa97fbf906ddaf011ef03f5f99c5af9 (patch) | |
tree | daaf0f1116b128294325d6c345ae751ccab90449 /drivers/cdmamodem/connman.c | |
parent | 17deacbfff7428b7c539e4609fcabcc0aabf0039 (diff) | |
download | ofono-6d5b7d0bffa97fbf906ddaf011ef03f5f99c5af9.tar.bz2 |
cdmamodem: Update to the new GAtPPP API
Diffstat (limited to 'drivers/cdmamodem/connman.c')
-rw-r--r-- | drivers/cdmamodem/connman.c | 4 |
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; } |