mirror of git://git.sysmocom.de/ofono
Use 3 read attempts when in non-blocking mode
This commit is contained in:
parent
7d7a61f933
commit
4f3b99e189
|
@ -916,7 +916,7 @@ static GAtChat *create_chat(GIOChannel *channel, GIOFlags flags,
|
|||
|
||||
if (flags & G_IO_FLAG_NONBLOCK) {
|
||||
chat->use_write_watch = TRUE;
|
||||
chat->max_read_attempts = 1;
|
||||
chat->max_read_attempts = 3;
|
||||
} else {
|
||||
chat->use_write_watch = FALSE;
|
||||
chat->max_read_attempts = 1;
|
||||
|
|
Loading…
Reference in New Issue