Don't use tcdrain() in patty_kiss_frame_send()

Don't use tcdrain() in patty_kiss_frame_send(), as this may cause a
program to block indefinitely on BSD systems
This commit is contained in:
XANTRONIX 2020-08-07 22:10:18 -04:00 committed by XANTRONIX Industrial
parent e558ccd57d
commit 1493f913a7

View file

@ -114,10 +114,6 @@ ssize_t patty_kiss_frame_send(int fd,
goto error_io; goto error_io;
} }
if (tcdrain(fd) < 0) {
goto error_io;
}
return len; return len;
error_io: error_io: