summaryrefslogtreecommitdiffstats
path: root/gatchat/gatmux.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-01-19 12:10:10 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-19 12:10:10 +0100
commit2126700c3e51f5d983cf9a11bf8bc84985ad469f (patch)
treec6aa409446fa413b70b52ea2203b7e4f0137f5e6 /gatchat/gatmux.c
parent893e14d39d633f5bc21b85287f9e0351e7886c1c (diff)
downloadofono-2126700c3e51f5d983cf9a11bf8bc84985ad469f.tar.bz2
gatchat: Fix setup of GIOChannel from multiplexer DLC
Diffstat (limited to 'gatchat/gatmux.c')
-rw-r--r--gatchat/gatmux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c
index 9aed9879..fa971734 100644
--- a/gatchat/gatmux.c
+++ b/gatchat/gatmux.c
@@ -699,6 +699,10 @@ GIOChannel *g_at_mux_create_channel(GAtMux *mux)
channel->funcs = &channel_funcs;
channel->is_seekable = FALSE;
+ channel->is_readable = TRUE;
+ channel->is_writeable = TRUE;
+
+ channel->do_encode = FALSE;
mux_channel->mux = mux;
mux_channel->dlc = i+1;