mirror of git://git.sysmocom.de/ofono
gatchat: Turn off buffering of GAtChat IO channels
After commit d83da35370
this was causing
the command queue to never run.
This commit is contained in:
parent
3a3c81e5d7
commit
45abba276b
|
@ -140,6 +140,8 @@ gboolean g_at_util_setup_io(GIOChannel *io, GIOFlags flags)
|
|||
G_IO_STATUS_NORMAL)
|
||||
return FALSE;
|
||||
|
||||
g_io_channel_set_buffered(io, FALSE);
|
||||
|
||||
if (flags & G_IO_FLAG_SET_MASK) {
|
||||
io_flags = g_io_channel_get_flags(io);
|
||||
|
||||
|
|
Loading…
Reference in New Issue