diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 08:07:39 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-02-07 15:07:16 +0100 |
commit | 75239f276ec894c87b8fbc268bdfb0f9fd290445 (patch) | |
tree | 14a91c251f2b1986a709876d90d9a0828b8c3769 /patches/0020-tty-termios/net_bluetooth_rfcomm_tty.patch | |
parent | 6981c5a175652d79562795127ab4ff62c9ecfac0 (diff) |
backports: get rid of patch directory structure
This directory structure was never really managed well,
simply get rid of it. With the patch system that only
applies patches when the modified file exists, and with
a lot of spatches applying everywhere anyway, it's no
longer really useful either.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/0020-tty-termios/net_bluetooth_rfcomm_tty.patch')
-rw-r--r-- | patches/0020-tty-termios/net_bluetooth_rfcomm_tty.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/0020-tty-termios/net_bluetooth_rfcomm_tty.patch b/patches/0020-tty-termios/net_bluetooth_rfcomm_tty.patch new file mode 100644 index 00000000..780d0b97 --- /dev/null +++ b/patches/0020-tty-termios/net_bluetooth_rfcomm_tty.patch @@ -0,0 +1,14 @@ +--- a/net/bluetooth/rfcomm/tty.c ++++ b/net/bluetooth/rfcomm/tty.c +@@ -869,7 +869,11 @@ static int rfcomm_tty_ioctl(struct tty_s + + static void rfcomm_tty_set_termios(struct tty_struct *tty, struct ktermios *old) + { ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)) + struct ktermios *new = &tty->termios; ++#else ++ struct ktermios *new = tty->termios; ++#endif + int old_baud_rate = tty_termios_baud_rate(old); + int new_baud_rate = tty_termios_baud_rate(new); + |