aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/rfcomm/tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c
index c9191871c1e0..248802796e12 100644
--- a/net/bluetooth/rfcomm/tty.c
+++ b/net/bluetooth/rfcomm/tty.c
@@ -1123,6 +1123,7 @@ int rfcomm_init_ttys(void)
1123 rfcomm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV; 1123 rfcomm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
1124 rfcomm_tty_driver->init_termios = tty_std_termios; 1124 rfcomm_tty_driver->init_termios = tty_std_termios;
1125 rfcomm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL; 1125 rfcomm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL;
1126 rfcomm_tty_driver->init_termios.c_lflag &= ~ICANON;
1126 tty_set_operations(rfcomm_tty_driver, &rfcomm_ops); 1127 tty_set_operations(rfcomm_tty_driver, &rfcomm_ops);
1127 1128
1128 if (tty_register_driver(rfcomm_tty_driver)) { 1129 if (tty_register_driver(rfcomm_tty_driver)) {