comgt: make ncm proto work via wwan proto
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46272
This commit is contained in:
parent
d65916047b
commit
657300d418
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue