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:
5e06f07
)
gsmdial: Set recording after ppp_open
author
Denis Kenzior
<denkenz@gmail.com>
Mon, 2 Jan 2012 16:57:27 +0000
(10:57 -0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 2 Jan 2012 16:57:27 +0000
(10:57 -0600)
gatchat/gsmdial.c
patch
|
blob
|
history
diff --git
a/gatchat/gsmdial.c
b/gatchat/gsmdial.c
index
a1d6421
..
60e4f24
100644
(file)
--- a/
gatchat/gsmdial.c
+++ b/
gatchat/gsmdial.c
@@
-369,9
+369,6
@@
static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data)
}
g_at_ppp_set_debug(ppp, gsmdial_debug, "PPP");
}
g_at_ppp_set_debug(ppp, gsmdial_debug, "PPP");
- if (option_pppdump)
- g_at_ppp_set_recording(ppp, option_pppdump);
-
g_at_ppp_set_credentials(ppp, option_username, option_password);
g_at_ppp_set_acfc_enabled(ppp, option_acfc);
g_at_ppp_set_credentials(ppp, option_username, option_password);
g_at_ppp_set_acfc_enabled(ppp, option_acfc);
@@
-383,6
+380,9
@@
static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data)
/* open the ppp connection */
g_at_ppp_open(ppp, io);
/* open the ppp connection */
g_at_ppp_open(ppp, io);
+
+ if (option_pppdump)
+ g_at_ppp_set_recording(ppp, option_pppdump);
}
static void at_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data)
}
static void at_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data)