wifipineapple-openwrt/package/network/utils/comgt
John Crispin 410d22ac03 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
2015-01-20 06:33:49 +00:00
..
files comgt: fix typo in the ncm proto handler 2014-10-26 16:57:38 +00:00
patches comgt: Allow using non-TTY devices 2015-01-20 06:33:49 +00:00
Makefile license info - revert r43155 2014-11-03 09:56:44 +00:00