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)
commitd07406055a4d12b63b61ed192dd4a28b93060bb1
treeef9c6bd5b3f8103082b969575229e5c9df7e6e45
parentaded3c341729c2b727786f3a95bb5027f0d8ab66
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