From b5f81f40120f01dc82b710a9f41ead29bcf2aed4 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 27 Apr 2010 17:09:37 -0500 Subject: [PATCH] Fix: For now calling g_at_chat_unref is fine Same as g_at_chat_shutdown in this case --- drivers/atmodem/gprs-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/atmodem/gprs-context.c b/drivers/atmodem/gprs-context.c index 848616a2..d58231e8 100644 --- a/drivers/atmodem/gprs-context.c +++ b/drivers/atmodem/gprs-context.c @@ -125,7 +125,7 @@ static gboolean setup_ppp(struct ofono_gprs_context *gc) GIOChannel *channel; channel = g_at_chat_get_channel(gcd->chat); - g_at_chat_shutdown(gcd->chat); + g_at_chat_unref(gcd->chat); /* open ppp */ gcd->ppp = g_at_ppp_new(channel);