comgt: Use TCGETS and TCSETS ioctls for struct termios
authorJohn Crispin <john@openwrt.org>
Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)
commit291e04ee8f47b86cbe3b63f2434c1c5e80bab678
treeaccf003da3df1948791b440c5bd726c34282204d
parent6aab00fa44db337b35112b95d81bcdfd827d088d
comgt: Use TCGETS and TCSETS ioctls for struct termios

When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44506
package/network/utils/comgt/Makefile
package/network/utils/comgt/patches/002-termios.patch
package/network/utils/comgt/patches/004-check_tty.patch