summaryrefslogtreecommitdiffstats
path: root/gatchat/gatmux.c
diff options
context:
space:
mode:
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;