summaryrefslogtreecommitdiff
path: root/package/network/utils/comgt/files/3g.usb
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-10 08:56:33 +0000
committerJohn Crispin <john@openwrt.org>2014-10-10 08:56:33 +0000
commit51a5ff094703c4db984284913d605e83e819d99c (patch)
tree7e5206fa9f0cb29d8c80b2190e8be7d682afdfff /package/network/utils/comgt/files/3g.usb
parentd83efbadee946ced7f1bad1ea4d7fd8b9d372d10 (diff)
downloadmtk-20170518-51a5ff094703c4db984284913d605e83e819d99c.zip
mtk-20170518-51a5ff094703c4db984284913d605e83e819d99c.tar.gz
mtk-20170518-51a5ff094703c4db984284913d605e83e819d99c.tar.bz2
comgt: add ncm proto support
This will not work for all board/dongle combinations until we hit 3.17. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 42866
Diffstat (limited to 'package/network/utils/comgt/files/3g.usb')
-rw-r--r--package/network/utils/comgt/files/3g.usb2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/comgt/files/3g.usb b/package/network/utils/comgt/files/3g.usb
index fd6837e..ac8326b 100644
--- a/package/network/utils/comgt/files/3g.usb
+++ b/package/network/utils/comgt/files/3g.usb
@@ -8,7 +8,7 @@ find_3g_iface() {
local proto
config_get proto "$cfg" proto
- [ "$proto" = 3g ] || return 0
+ [ "$proto" = 3g ] || [ "$proto" = ncm ] || return 0
# bypass state vars here because 00-netstate could clobber .device
local dev=$(uci_get network "$cfg" device)