summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-19 18:20:57 +0000
committerSteven Barth <steven@midlink.org>2008-08-19 18:20:57 +0000
commit4db21391164842ce28193b4d5fac8b62e6d9a521 (patch)
tree90688fb166d7f517869de465799cc8b50d05da56 /modules/admin-mini
parent6805eabaaa5698fd42784da87965b62bb88d91a2 (diff)
modules/admin-*: Added hints for Wifi Channels
Diffstat (limited to 'modules/admin-mini')
-rw-r--r--modules/admin-mini/luasrc/model/cbi/mini/wifi.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
index c293175b6..95407be85 100644
--- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
+++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua
@@ -136,8 +136,10 @@ mode:value("11a", "802.11a")
mode:value("11bg", "802.11b+g")
mode.rmempty = true
-s:option(Value, "channel", translate("a_w_channel"))
-
+ch = s:option(Value, "channel", translate("a_w_channel"))
+for i=1, 14 do
+ ch:value(i, i .. " (2.4 GHz)")
+end
s = m:section(TypedSection, "wifi-iface", translate("m_n_local"))