modules/admin-full: label empty option "disable" in mac filter policy field
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 16 Aug 2009 17:39:47 +0000 (17:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 16 Aug 2009 17:39:47 +0000 (17:39 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 5a5824ced73d02270c591b512b4216a5e3dbcaba..d498c3c01e0a28ff9f7dcf980c75a67120b67998 100644 (file)
@@ -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"))