From b0fcf3abd748cca1fda52597c61761046a8dabf4 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 26 Dec 2016 07:41:44 -0600 Subject: [PATCH] termios.h: Fix CRTSCTS define to include input and output flow --- include/termios.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/termios.h b/include/termios.h index 00ff32e5c66..8427cbf5991 100644 --- a/include/termios.h +++ b/include/termios.h @@ -110,8 +110,8 @@ #define HUPCL (1 << 6) /* Bit 6: Hang up on last close */ #define CLOCAL (1 << 7) /* Bit 7: Ignore modem status lines */ #define CCTS_OFLOW (1 << 8) /* Bit 8: CTS flow control of output */ -#define CRTSCTS CCTS_OFLOW #define CRTS_IFLOW (1 << 9) /* Bit 9: RTS flow control of input */ +#define CRTSCTS (CRTS_IFLOW | CCTS_OFLOW) /* Local Modes (c_lflag in the termios structure) */