commit | fada18c48d774b9e837928ecdce6a5d5fdd11ee7 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Sun Jul 15 15:39:33 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 16 11:58:15 2018 +0200 |
tree | 8aaf2a591e97164179394b13f5fce62e6fec84f3 | |
parent | 8a8a66a1a18a1dbd213bee460bcedb1361abc7ff [diff] |
tty: fix termios input-speed encoding Make sure to clear the CIBAUD bits before OR-ing the new mask when encoding the termios input baud rate. This could otherwise lead to an incorrect input rate being reported back and incidentally set on subsequent termios updates. Fixes: edc6afc54968 ("[PATCH] tty: switch to ktermios and new framework") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>