summaryrefslogtreecommitdiff
path: root/patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 11:35:20 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 14:07:51 +0100
commit36735bb86a5e144603743bb800d7f69362d2ee2d (patch)
tree363158c7f80f3fc5a7690ca9d9ff6e5fcd7fa52e /patches/0020-tty-termios/net_bluetooth_hci_ldisc.patch
parente7720369ef69376d1244b49373e34663eaa6b5a1 (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.patch12
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;