Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45556
3c298f89-4303-0410-b956-
a3cf2f4a3e73
uci_revert_state network $interface cid
}
uci_revert_state network $interface cid
}
local interface="$1"
local device apn auth username password pincode delay modes cid pdh
local interface="$1"
local device apn auth username password pincode delay modes cid pdh
ubus call network add_dynamic "$(json_dump)"
}
ubus call network add_dynamic "$(json_dump)"
}
+proto_qmi_setup() {
+ local ret
+
+ _proto_qmi_setup $@
+ ret=$?
+
+ [ "$ret" = 0 ] || {
+ logger "qmi bringup failed, retry in 15s"
+ sleep 15
+ }
+
+ return $rt
+}
+
proto_qmi_teardown() {
local interface="$1"
proto_qmi_teardown() {
local interface="$1"