comgt: make ncm proto work via wwan proto

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46272
This commit is contained in:
John Crispin 2015-07-08 14:26:04 +00:00
parent d65916047b
commit 657300d418

View file

@ -27,6 +27,8 @@ proto_ncm_setup() {
local device apn auth username password pincode delay mode local device apn auth username password pincode delay mode
json_get_vars 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" ] || { [ -n "$device" ] || {
echo "No control device specified" echo "No control device specified"
proto_notify_error "$interface" NO_DEVICE proto_notify_error "$interface" NO_DEVICE