Char: mxser, fix TIOCMIWAIT
authorJiri Slaby <jirislaby@gmail.com>
Mon, 23 Apr 2007 21:41:04 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Apr 2007 15:23:08 +0000 (08:23 -0700)
commitfc83815c3afe1bd8d0f0961a668a96caabb049be
tree9086ca9ec97e19a07d3f68a6ecec300dbb19ba9b
parentb446a4a5757fe1287bf3472efcdde6b59dfd63ad
Char: mxser, fix TIOCMIWAIT

There was schedule() missing in the TIOCMIWAIT ioctl. Solve it by moving
the code to the wait_event_interruptible.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jan Yenya Kasprzak <kas@fi.muni.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser.c