AA: mac80211: backport package from trunk r39886
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 020-disable_tty_set_termios.patch
1 --- a/compat/compat-2.6.39.c
2 +++ b/compat/compat-2.6.39.c
3 @@ -13,6 +13,7 @@
4 #include <linux/sched.h>
5 #include <linux/module.h>
6
7 +#ifdef CONFIG_COMPAT_BLUETOOTH
8 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
9 #ifdef CONFIG_TTY
10 /*
11 @@ -114,4 +115,4 @@ int tty_set_termios(struct tty_struct *t
12 EXPORT_SYMBOL_GPL(tty_set_termios);
13 #endif /* CONFIG_TTY */
14 #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) */
15 -
16 +#endif