summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_net.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-13 15:35:55 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-13 15:35:55 -0500
commitc74e2ab189bfacd1075810c33cb426985414df66 (patch)
treee0fc40fcc8e8048f9f8fca40bc23f531bf4d5d78 /gatchat/ppp_net.c
parent7085818f235f7310cf4e53f8b5cf495cd4772d94 (diff)
downloadofono-c74e2ab189bfacd1075810c33cb426985414df66.tar.bz2
ppp: TUN channel should not be opened NONBLOCKING
We don't handle it as a nonblocking channel and getting it right would be a nightmare.
Diffstat (limited to 'gatchat/ppp_net.c')
-rw-r--r--gatchat/ppp_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/ppp_net.c b/gatchat/ppp_net.c
index 8d1a5d48..325e859d 100644
--- a/gatchat/ppp_net.c
+++ b/gatchat/ppp_net.c
@@ -129,7 +129,7 @@ struct ppp_net *ppp_net_new(GAtPPP *ppp)
if (channel == NULL)
goto error;
- if (!g_at_util_setup_io(channel, G_IO_FLAG_NONBLOCK))
+ if (!g_at_util_setup_io(channel, 0))
goto error;
g_io_channel_set_buffered(channel, FALSE);