From: Marcel Holtmann Date: Wed, 19 Jan 2011 11:10:10 +0000 (+0100) Subject: gatchat: Fix setup of GIOChannel from multiplexer DLC X-Git-Tag: 0.39~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2126700c3e51f5d983cf9a11bf8bc84985ad469f;p=platform%2Fupstream%2Fofono.git gatchat: Fix setup of GIOChannel from multiplexer DLC --- diff --git a/gatchat/gatmux.c b/gatchat/gatmux.c index 9aed987..fa97173 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;