summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-16 17:39:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-16 17:39:47 +0000
commitf7eb9361d7065b91c12096449eb6b0faceac95d9 (patch)
tree7ed1c754da06b90ea4151fb51df88c6cf6b61130
parent42b162eaad030639bccf105e604aff6e53bdea0a (diff)
modules/admin-full: label empty option "disable" in mac filter policy field
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 5a5824ced..d498c3c01 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -105,7 +105,7 @@ if hwtype == "broadcom" then
s:taboption("advanced", Value, "txpower", translate("a_w_txpwr"), "dBm").rmempty = true
mp = s:taboption("macfilter", ListValue, "macfilter", translate("wifi_macpolicy"))
- mp:value("")
+ mp:value("", translate("disable"))
mp:value("allow", translate("wifi_whitelist"))
mp:value("deny", translate("wifi_blacklist"))
ml = s:taboption("macfilter", DynamicList, "maclist", translate("wifi_maclist"))
@@ -252,7 +252,7 @@ if hwtype == "atheros" then
s:taboption("advanced", Flag, "bgscan", translate("wifi_bgscan"))
mp = s:taboption("macfilter", ListValue, "macpolicy", translate("wifi_macpolicy"))
- mp:value("")
+ mp:value("", translate("disable"))
mp:value("deny", translate("wifi_whitelist"))
mp:value("allow", translate("wifi_blacklist"))
ml = s:taboption("macfilter", DynamicList, "maclist", translate("wifi_maclist"))