projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a56acd
)
gathdlc: delete read/write handler in hdlc_suspend
author
Guillaume Zajac
<guillaume.zajac@linux.intel.com>
Wed, 4 May 2011 15:38:59 +0000
(17:38 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 9 May 2011 03:59:03 +0000
(22:59 -0500)
gatchat/gathdlc.c
patch
|
blob
|
history
diff --git
a/gatchat/gathdlc.c
b/gatchat/gathdlc.c
index
6b1f343
..
7989bd7
100644
(file)
--- 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);