comgt: Use TCGETS and TCSETS ioctls for struct termios
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)
commita7bf9b1095421cf2bbba9a2251f7ec89934f4d05
treeef9c6bd5b3f8103082b969575229e5c9df7e6e45
parentf5dd2dd99c0c0185c64d2f83d60364c86ea07cc6
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