diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2019-02-21 11:35:20 +0100 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2019-02-21 14:07:51 +0100 |
commit | 36735bb86a5e144603743bb800d7f69362d2ee2d (patch) | |
tree | 363158c7f80f3fc5a7690ca9d9ff6e5fcd7fa52e /patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch | |
parent | e7720369ef69376d1244b49373e34663eaa6b5a1 (diff) |
backports: reintroduce bluetooth support
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch')
-rw-r--r-- | patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch b/patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch index 81371523..9292f330 100644 --- a/patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch +++ b/patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch @@ -32,18 +32,6 @@ ktermios.c_cflag |= CRTSCTS; status = tty_set_termios(tty, &ktermios); BT_DBG("Enabling hardware flow control: %s", -@@ -324,7 +333,11 @@ void hci_uart_init_tty(struct hci_uart * - struct ktermios ktermios; - - /* Bring the UART into a known 8 bits no parity hw fc state */ -+#if LINUX_VERSION_IS_GEQ(3,7,0) - ktermios = tty->termios; -+#else -+ ktermios = *tty->termios; -+#endif - ktermios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | - INLCR | IGNCR | ICRNL | IXON); - ktermios.c_oflag &= ~OPOST; @@ -342,7 +355,11 @@ void hci_uart_set_baudrate(struct hci_ua struct tty_struct *tty = hu->tty; struct ktermios ktermios; |