]> git.baikalelectronics.ru Git - kernel.git/commit
usb-serial: fix termios initialization logic
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 1 Sep 2009 15:39:22 +0000 (11:39 -0400)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:40 +0000 (13:13 -0700)
commit69d21cc394c47ac8cc405aefff7d26a698450700
tree393c102e66ad3bba2b5d27d88770b57ab23a2606
parenta54247b37dfeffc644e4083d24c231c326d48c4b
usb-serial: fix termios initialization logic

This patch (as1288) fixes the initialization logic in
serial_install().  A new tty always needs to have a termios
initialized no matter what, not just in the case where the lower
driver will override the termios settings.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb-serial.c