ifx: Remove modification of GIOChannel before multiplexer setup

After g_at_chat_new() call the GIOChannel is already in non blocking,
no encoding and no buffering mode. So no need for extra modifications.
This commit is contained in:
Marcel Holtmann 2011-01-19 15:32:52 +01:00
parent 2f2460f5ae
commit a4d14ccb3e
1 changed files with 0 additions and 7 deletions

View File

@ -434,17 +434,10 @@ error:
static void setup_internal_mux(struct ofono_modem *modem)
{
struct ifx_data *data = ofono_modem_get_data(modem);
GIOFlags flags;
int i;
DBG("");
flags = g_io_channel_get_flags(data->device) | G_IO_FLAG_NONBLOCK;
g_io_channel_set_flags(data->device, flags, NULL);
g_io_channel_set_encoding(data->device, NULL, NULL);
g_io_channel_set_buffered(data->device, FALSE);
data->mux = g_at_mux_new_gsm0710_basic(data->device, data->frame_size);
if (data->mux == NULL)
goto error;