From: Guillaume Zajac Date: Wed, 4 May 2011 15:38:59 +0000 (+0200) Subject: gathdlc: delete read/write handler in hdlc_suspend X-Git-Tag: 0.49~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=badd5555ec5091fc990a823ad01185f15e700f8d;p=platform%2Fupstream%2Fofono.git gathdlc: delete read/write handler in hdlc_suspend --- diff --git a/gatchat/gathdlc.c b/gatchat/gathdlc.c index 6b1f343..7989bd7 100644 --- a/gatchat/gathdlc.c +++ b/gatchat/gathdlc.c @@ -166,6 +166,9 @@ static gboolean hdlc_suspend(gpointer user_data) g_at_io_drain_ring_buffer(hdlc->io, 3); + g_at_io_set_write_handler(hdlc->io, NULL, NULL); + g_at_io_set_read_handler(hdlc->io, NULL, NULL); + if (hdlc->suspend_func) hdlc->suspend_func(hdlc->suspend_data);