diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 2f342f67..63c46f82 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_ppp_set_recording(ppp, option_pppdump); + g_at_hdlc_set_recording(g_at_ppp_get_hdlc(ppp), option_pppdump); g_at_ppp_set_credentials(ppp, option_username, option_password);