summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-02 21:09:33 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2009-06-02 21:09:33 +0000
commitfbc438cf3a665b7ba55d39837a7228dd16deae10 (patch)
treef64f28d9a5daeeffa973de6894e366722aa3cc64 /modules/admin-full/luasrc
parent8a3f3e860a7e0595007c344e0fdbbba334d2f404 (diff)
Add diversity option for prism2 cards
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua2
1 files changed, 2 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 7ff138f776..34992271b2 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -122,6 +122,8 @@ end
if hwtype == "prism2" then
s:option(Value, "txpower", translate("a_w_txpwr"), "att units").rmempty = true
+ s:option(Flag, "diversity", translate("wifi_diversity")).rmempty = false
+
s:option(Value, "txantenna", translate("wifi_txantenna")).optional = true
s:option(Value, "rxantenna", translate("wifi_rxantenna")).optional = true
end