diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-27 17:10:42 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-28 17:27:34 -0500 |
commit | d87529840455529b54a65990662da7977ac1c9a6 (patch) | |
tree | d2bf2d1dd1fe5be55ddab551cc9a0e3e1fe6d468 /gatchat/gsmdial.c | |
parent | 8645b05c4f7ca085e650f4550f7463f670d3e652 (diff) | |
download | ofono-d87529840455529b54a65990662da7977ac1c9a6.tar.bz2 |
gsmdial: Unref the chat instead of using shutdown
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r-- | gatchat/gsmdial.c | 4 |
1 files 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); |