protocols/3g: rework service type choices
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Aug 2012 11:12:14 +0000 (11:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Aug 2012 11:12:14 +0000 (11:12 +0000)
protocols/3g/luasrc/model/cbi/admin_network/proto_3g.lua

index d59d2331d476c4337cbab6babf3cec883f383e1d..9c1a762827c0de79485af6ad4cf55d5a6fb8eb87 100644 (file)
@@ -34,15 +34,15 @@ end
 service = section:taboption("general", Value, "service", translate("Service Type"))
 service:value("", translate("-- Please choose --"))
 service:value("umts", "UMTS/GPRS")
-service:value("cdma", "CDMA")
-service:value("evdo", "EV-DO")
+service:value("umts_only", translate("UMTS only"))
+service:value("gprs_only", translate("GPRS only"))
+service:value("evdo", "CDMA/EV-DO")
 
 
 apn = section:taboption("general", Value, "apn", translate("APN"))
 
 
 pincode = section:taboption("general", Value, "pincode", translate("PIN"))
-pincode.datatype = "range(0,9999)"
 
 
 username = section:taboption("general", Value, "username", translate("PAP/CHAP username"))