diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-27 17:09:37 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-28 17:27:33 -0500 |
commit | b5f81f40120f01dc82b710a9f41ead29bcf2aed4 (patch) | |
tree | 09dbf512ba6d7b9c0a6315b1a86a6e5e831cf950 | |
parent | 20a32ff5e8af8e3ffedbcfe612bfc6b29ff43d58 (diff) | |
download | ofono-b5f81f40120f01dc82b710a9f41ead29bcf2aed4.tar.bz2 |
Fix: For now calling g_at_chat_unref is fine
Same as g_at_chat_shutdown in this case
-rw-r--r-- | drivers/atmodem/gprs-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |