comgt: Use TCGETS and TCSETS ioctls for struct termios
authorJohn Crispin <blogic@openwrt.org>
Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)
commit88f9ed04cab7951a2cf68e4768bb390a02a4a010
treeef9c6bd5b3f8103082b969575229e5c9df7e6e45
parenta913b333ad897c3341861b2813d105e134cf4c02
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44506 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/utils/comgt/Makefile
package/network/utils/comgt/patches/002-termios.patch
package/network/utils/comgt/patches/004-check_tty.patch