summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/gprs-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/gprs-context.c')
-rw-r--r--drivers/atmodem/gprs-context.c2
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);