projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
945f891
)
modules/niu: convert MHz to GHz in channel selection
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 23 Nov 2009 08:17:25 +0000
(08:17 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 23 Nov 2009 08:17:25 +0000
(08:17 +0000)
modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua
patch
|
blob
|
history
diff --git
a/modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua
b/modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua
index
8df31e8
..
c1341db
100644
(file)
--- a/
modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua
+++ b/
modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua
@@
-51,7
+51,7
@@
s:tab("general", translate("General Settings"))
ch = s:taboption("general", Value, "channel", translate("Channel"))
ch:value("auto", translate("automatic"))
for _, f in ipairs(chan) do
- ch:value(f.channel, "%i (%.3f GHz)" %{ f.channel, f.mhz })
+ ch:value(f.channel, "%i (%.3f GHz)" %{ f.channel, f.mhz
/ 1000
})
end