n_tty: Factor packet mode status change for reuse
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:22 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:32:46 +0000 (16:32 -0700)
commita30737ab7d99f27810b254787e5e62a6c92cb355
tree4164294bf2b194f917d0524485f8aebb413ba8c5
parent21622939fc452c7fb739464b8e49368c3ceaa0ee
n_tty: Factor packet mode status change for reuse

Factor the packet mode status change from n_tty_flush_buffer
for use by follow-on patch.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c