From: Maciej W. Rozycki Date: Thu, 18 Oct 2007 10:04:35 +0000 (-0700) Subject: tty_ioctl: fix the baud_table check in encode_baud_rate X-Git-Tag: v2.6.24-rc1~444 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75e8b71d559632dd70c9799ea8b5c133a2ddcea9;p=pandora-kernel.git tty_ioctl: fix the baud_table check in encode_baud_rate The tty_termios_encode_baud_rate() function as defined by tty_ioctl.c has a problem with the baud_table within. The comparison operators are reversed and as a result this table's entries never match and BOTHER is always used. Signed-off-by: Maciej W. Rozycki Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed