comgt-ncm: Fix NCM protocol
authorJohn Crispin <blogic@openwrt.org>
Wed, 28 Jan 2015 19:19:33 +0000 (19:19 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 28 Jan 2015 19:19:33 +0000 (19:19 +0000)
commit187afa2a1dbf45d02a709b36f3aa5f709ce503e3
treea8052f024ef0cce7288cf6f4a137c3854286955d
parent7558535a9e02a19359425a029fb538f4ef64d651
comgt-ncm: Fix NCM protocol

This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44182 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/utils/comgt/Makefile
package/network/utils/comgt/files/ncm.json
package/network/utils/comgt/files/ncm.sh
package/network/utils/comgt/files/runcommand.gcom