diff options
author | Johan Hovold <[email protected]> | 2018-07-15 15:39:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-07-16 11:58:15 +0200 |
commit | fada18c48d774b9e837928ecdce6a5d5fdd11ee7 (patch) | |
tree | 8aaf2a591e97164179394b13f5fce62e6fec84f3 /lib/netdev-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions