[PATCH] Char: mxser_new, reverse if-else-paths patch
commit925e9c1c08750096ddb4634f5d06b5451e4a92a8
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:30 +0000 (8 02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:54 +0000 (8 08:28 -0800)
treec4617708dc076892dc52ec501aa7643ccdf37325
parentcd7ed64e1508d3275c20d072bf9037028ec34f56
[PATCH] Char: mxser_new, reverse if-else-paths patch

This patch was intorduced in mxser to 1.9.1 conversion, but causes endless
sleep in tcdrain userspace call.

Thanks to Sergei Organov <osv@javad.com> for testing and pointing this out.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser_new.c