moxa: dcd handling of CLOCAL is backwards
authorAlan Cox <alan@linux.intel.com>
Thu, 1 Nov 2012 16:43:49 +0000 (16:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 00:53:14 +0000 (16:53 -0800)
commit4bd82136cdf04f3a8d50e20c1b76da750f75f2db
tree46d5f46dda62e80977d01c696754c899b1db3915
parente8823f1ca8d5a0c5d69a8862682ee8bde26990ca
moxa: dcd handling of CLOCAL is backwards

We should do hangup on dcd loss if CLOCAL is false not true.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=49911
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/moxa.c