diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-13 15:35:55 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-13 15:35:55 -0500 |
commit | c74e2ab189bfacd1075810c33cb426985414df66 (patch) | |
tree | e0fc40fcc8e8048f9f8fca40bc23f531bf4d5d78 | |
parent | 7085818f235f7310cf4e53f8b5cf495cd4772d94 (diff) | |
download | ofono-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.
-rw-r--r-- | gatchat/ppp_net.c | 2 |
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); |