Commit 276fccf5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] tty: let tiocmset pass TIOCM_LOOP changes to the tty drivers.

parent 2c0bec02
......@@ -1700,8 +1700,8 @@ tty_tiocmset(struct tty_struct *tty, struct file *file, unsigned int cmd,
break;
}
set &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2;
clear &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2;
set &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2|TIOCM_LOOP;
clear &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2|TIOCM_LOOP;
retval = tty->driver->tiocmset(tty, file, set, clear);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment