diff options
author | John Crispin <blogic@openwrt.org> | 2015-01-20 06:33:49 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-01-20 06:33:49 +0000 |
commit | 410d22ac0358660dc54ffc100b023e29bc90133f (patch) | |
tree | e358b221616faa3d7c48203d19188f2b0208483c /package/network/utils/conntrack-tools | |
parent | ea4c8284ee45cab04ae1ffd6193e88f57459bdb9 (diff) | |
download | upstream-410d22ac0358660dc54ffc100b023e29bc90133f.tar.gz upstream-410d22ac0358660dc54ffc100b023e29bc90133f.tar.bz2 upstream-410d22ac0358660dc54ffc100b023e29bc90133f.zip |
comgt: Allow using non-TTY devices
Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.
v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/conntrack-tools')
0 files changed, 0 insertions, 0 deletions