cdmamodem: Update to the new GAtPPP API

This commit is contained in:
Denis Kenzior 2011-05-24 11:12:38 -05:00
parent 17deacbfff
commit 6d5b7d0bff
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}