projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb3ccc
)
gsmdial: Update to new API
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 24 May 2011 16:11:59 +0000
(11:11 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 24 May 2011 17:25:07 +0000
(12:25 -0500)
gatchat/gsmdial.c
patch
|
blob
|
history
diff --git
a/gatchat/gsmdial.c
b/gatchat/gsmdial.c
index
a10e7cb
..
f8a980a
100644
(file)
--- 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)