From: Hauke Mehrtens Date: Mon, 6 Aug 2012 22:34:44 +0000 (+0200) Subject: compat-wireless: the tty termios change is not in 3.6-rc1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f8fda4fedc7539da17512cc6180eefec3adf8a61;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: the tty termios change is not in 3.6-rc1 The api change this patch is needed for is not in kernel 3.6-rc1. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/63-tty-termios.patch b/patches/63-tty-termios.patch index dd7c300c2458..b868ae973836 100644 --- a/patches/63-tty-termios.patch +++ b/patches/63-tty-termios.patch @@ -25,7 +25,7 @@ was not done through a static inline helper. return status; /* Disable Automatic RTSCTS */ -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)) ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)) ktermios = tty->termios; +#else + memcpy(&ktermios, tty->termios, sizeof(ktermios));