diff options
-rw-r--r-- | patches/collateral-evolutions/network/0020-tty-termios/net_bluetooth_hci_ldisc.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/collateral-evolutions/network/0020-tty-termios/net_bluetooth_hci_ldisc.patch b/patches/collateral-evolutions/network/0020-tty-termios/net_bluetooth_hci_ldisc.patch index d1c6b64f..54345313 100644 --- a/patches/collateral-evolutions/network/0020-tty-termios/net_bluetooth_hci_ldisc.patch +++ b/patches/collateral-evolutions/network/0020-tty-termios/net_bluetooth_hci_ldisc.patch @@ -8,7 +8,7 @@ #include <linux/kernel.h> #include <linux/init.h> -@@ -269,7 +270,11 @@ void hci_uart_set_flow_control(struct hc +@@ -268,7 +269,11 @@ void hci_uart_set_flow_control(struct hc if (enable) { /* Disable hardware flow control */ @@ -20,7 +20,7 @@ ktermios.c_cflag &= ~CRTSCTS; status = tty_set_termios(tty, &ktermios); BT_DBG("Disabling hardware flow control: %s", -@@ -303,7 +308,11 @@ void hci_uart_set_flow_control(struct hc +@@ -302,7 +307,11 @@ void hci_uart_set_flow_control(struct hc BT_DBG("Setting RTS: %s", status ? "failed" : "success"); /* Re-enable hardware flow control */ @@ -32,7 +32,7 @@ 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 * +@@ -323,7 +332,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 */ @@ -44,7 +44,7 @@ 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 +@@ -341,7 +354,11 @@ void hci_uart_set_baudrate(struct hci_ua struct tty_struct *tty = hu->tty; struct ktermios ktermios; @@ -56,7 +56,7 @@ ktermios.c_cflag &= ~CBAUD; tty_termios_encode_baud_rate(&ktermios, speed, speed); -@@ -350,7 +367,7 @@ void hci_uart_set_baudrate(struct hci_ua +@@ -349,7 +366,7 @@ void hci_uart_set_baudrate(struct hci_ua tty_set_termios(tty, &ktermios); BT_DBG("%s: New tty speeds: %d/%d", hu->hdev->name, |