summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-07-20 07:53:05 +0200
committerGitHub <noreply@github.com>2018-07-20 07:53:05 +0200
commitecb0c52bca3575236945802cb0711447da6bb713 (patch)
treea3e910ef1810aac51aa826e0b27455210f75d00c
parent5c6ddd4a98a09a67b14448c324b515861a2142b0 (diff)
parent57439d8daa0e24f38960699b04c638cd82d064e0 (diff)
Merge pull request #1964 from hanipouspilot/ncm-fix
luci-proto-ncm: remove mode 'auto' as default
-rw-r--r--protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua b/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua
index 917c88c92..4ac8d2ccc 100644
--- a/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua
+++ b/protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua
@@ -32,7 +32,7 @@ end
mode = section:taboption("general", Value, "mode", translate("Service Type"))
-mode.default = "auto"
+mode:value("", translate("Modem default"))
mode:value("preferlte", translate("Prefer LTE"))
mode:value("preferumts", translate("Prefer UMTS"))
mode:value("lte", "LTE")