summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-01 18:15:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-01 18:15:20 +0000
commit4d34417ebc3e46cc16529e7e6da46e80229787c5 (patch)
treec97d444794eced2662a1914788830b6caab41e2f /modules/admin-full/luasrc
parentae6c1f618f3618e386863b655a3be02de14d8f3b (diff)
modules/admin-full: add support for the probereq iwpriv param
i18n: add required strings
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua5
1 files changed, 5 insertions, 0 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 0ed725b61..dd3e5eda3 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -234,6 +234,11 @@ if hwtype == "atheros" then
local nos = s:option(Flag, "nosbeacon", translate("wifi_nosbeacon"))
nos:depends({mode="sta"})
nos.optional = true
+
+ local probereq = s:option(Flag, "probereq", translate("wifi_noprobereq"))
+ probereq.optional = true
+ probereq.enabled = "0"
+ probereq.disabled = "1"
end