From d87529840455529b54a65990662da7977ac1c9a6 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 27 Apr 2010 17:10:42 -0500 Subject: [PATCH] gsmdial: Unref the chat instead of using shutdown --- gatchat/gsmdial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 02d01f39..30cc5cc1 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -258,8 +258,8 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) * shutdown gatchat or else it tries to take all the input * from the modem and does not let PPP get it. */ - g_at_chat_shutdown(control); - g_at_chat_shutdown(modem); + g_at_chat_unref(control); + g_at_chat_unref(modem); /* open ppp */ ppp = g_at_ppp_new(channel);