tools: kwboot: Disable tty interbyte timeout
Function kwboot_tty_recv() has its own handling of read timeout, we don't need to do set it in tty settings. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
@@ -655,7 +655,7 @@ kwboot_open_tty(const char *path, int baudrate)
|
||||
cfmakeraw(&tio);
|
||||
tio.c_cflag |= CREAD|CLOCAL;
|
||||
tio.c_cc[VMIN] = 1;
|
||||
tio.c_cc[VTIME] = 10;
|
||||
tio.c_cc[VTIME] = 0;
|
||||
|
||||
rc = tcsetattr(fd, TCSANOW, &tio);
|
||||
if (rc)
|
||||
|
Reference in New Issue
Block a user