tty: moxa: fix bit test in moxa_start()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 7 Mar 2012 10:05:00 +0000 (13:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:55:48 +0000 (12:55 -0800)
commit58112dfbfe02d803566a2c6c8bd97b5fa3c62cdc
tree222a415d269089901e8ea1c1d1dd94b955c49169
parent48a7466f4dd0104d87a6d8dd0f25027be89c8453
tty: moxa: fix bit test in moxa_start()

This is supposed to be doing a shift before the comparison instead of
just doing a bitwise AND directly.  The current code means the start()
just returns without doing anything.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/moxa.c