From: John Crispin Date: Wed, 8 Jul 2015 14:26:04 +0000 (+0000) Subject: comgt: make ncm proto work via wwan proto X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=657300d4184a97e2c433ca259d973a04a5680ac0;p=openwrt%2Fstaging%2Fnbd.git comgt: make ncm proto work via wwan proto Signed-off-by: John Crispin SVN-Revision: 46272 --- diff --git a/package/network/utils/comgt/files/ncm.sh b/package/network/utils/comgt/files/ncm.sh index 6546691b1a..1f0d0db2e7 100644 --- a/package/network/utils/comgt/files/ncm.sh +++ b/package/network/utils/comgt/files/ncm.sh @@ -27,6 +27,8 @@ proto_ncm_setup() { local device apn auth username password pincode delay mode json_get_vars device apn auth username password pincode delay mode + [ -n "$ctl_device" ] && device=$ctl_device + [ -n "$device" ] || { echo "No control device specified" proto_notify_error "$interface" NO_DEVICE