From c9edf56fc69bdf79eeb7cbd11917d6455d098784 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 28 Apr 2010 20:25:10 -0500 Subject: ppp: Hang set_recording off the GAtPPP object Marcel: recording right now only works for PPP, so we'd need some sort of multi-protocol support. So for now expose set_recording to be used through the main PPP object. HDLC object recording support needs to be extended. --- gatchat/gsmdial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gatchat/gsmdial.c') diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 63c46f82..2f342f67 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -273,7 +273,7 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) g_at_ppp_set_debug(ppp, gsmdial_debug, "PPP"); if (option_pppdump) - g_at_hdlc_set_recording(g_at_ppp_get_hdlc(ppp), option_pppdump); + g_at_ppp_set_recording(ppp, option_pppdump); g_at_ppp_set_credentials(ppp, option_username, option_password); -- cgit v1.2.3