diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-01-19 15:32:52 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-19 15:32:52 +0100 |
commit | a4d14ccb3e45e0a24e149d2a818c504afeed01a5 (patch) | |
tree | 5fa28a69bf462926e9b404c8a1197c1651a0d16c /plugins/ifx.c | |
parent | 2f2460f5ae90ccee6e3f6068bff0e49140b8e3f5 (diff) | |
download | ofono-a4d14ccb3e45e0a24e149d2a818c504afeed01a5.tar.gz |
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.
Diffstat (limited to 'plugins/ifx.c')
-rw-r--r-- | plugins/ifx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/ifx.c b/plugins/ifx.c index 61c60c14..0d31167b 100644 --- a/plugins/ifx.c +++ b/plugins/ifx.c @@ -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; |