summaryrefslogtreecommitdiffstats
path: root/gatchat/gatutil.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-01-18 12:14:42 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-01-18 12:16:19 -0600
commit45abba276b49e50bb2b285d84e15849be44b918f (patch)
tree7d094ddccd6e609c10df22c4fa1c970962122f60 /gatchat/gatutil.c
parent3a3c81e5d70085335a3355c8debc3bf3ac6f9297 (diff)
downloadofono-45abba276b49e50bb2b285d84e15849be44b918f.tar.bz2
gatchat: Turn off buffering of GAtChat IO channels
After commit d83da353702c8533c36e06ead14aaec5ba900cf4 this was causing the command queue to never run.
Diffstat (limited to 'gatchat/gatutil.c')
-rw-r--r--gatchat/gatutil.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatutil.c b/gatchat/gatutil.c
index 393d94cb..0ac20b5a 100644
--- a/gatchat/gatutil.c
+++ b/gatchat/gatutil.c
@@ -140,6 +140,8 @@ gboolean g_at_util_setup_io(GIOChannel *io, GIOFlags flags)
G_IO_STATUS_NORMAL)
return FALSE;
+ g_io_channel_set_buffered(io, FALSE);
+
if (flags & G_IO_FLAG_SET_MASK) {
io_flags = g_io_channel_get_flags(io);