fc5d4d63fb3c7a961cf4781f82c9b2033d9cc920
[openwrt.git] / package / mac80211 / patches / 030-disable_tty_set_termios.patch
1 --- a/compat/compat-2.6.39.c
2 +++ b/compat/compat-2.6.39.c
3 @@ -12,6 +12,7 @@
4  #include <linux/tty.h>
5  #include <linux/sched.h>
6  
7 +#ifdef CONFIG_COMPAT_BLUETOOTH
8  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
9  /*
10   *             Termios Helper Methods
11 @@ -111,4 +112,4 @@ int tty_set_termios(struct tty_struct *t
12  }
13  EXPORT_SYMBOL_GPL(tty_set_termios);
14  #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) */
15 -
16 +#endif