[PATCH] Serial: Check status of CTS when using flow control
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 29 Jun 2005 17:40:53 +0000 (18:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Jun 2005 17:40:53 +0000 (18:40 +0100)
commit0dd7a1aed7c34a39917c4faf75b4230c169e809b
tree9c3eea7c817b19b50ece862af063c06ab7216c6d
parentc5f4644e6c8ba21666128603e4e92544d3cd740d
[PATCH] Serial: Check status of CTS when using flow control

Fix bugme #4712: read the CTS status and set hw_stopped if CTS
is not active when opening the port and/or enabling CRTSCTS

Thanks to Stefan Wolff for spotting this problem.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/serial_core.c