diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-23 08:17:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-23 08:17:25 +0000 |
commit | 8163cc8e67495af36e38945394234f3beb653d29 (patch) | |
tree | 496302ee6349e3c132512b15af9a51a6906a6ca7 /modules/niu/luasrc | |
parent | 945f8910c1158195f8655858df1ce393ffa630d7 (diff) |
modules/niu: convert MHz to GHz in channel selection
Diffstat (limited to 'modules/niu/luasrc')
-rw-r--r-- | modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua b/modules/niu/luasrc/model/cbi/niu/wireless/ap1.lua index 8df31e82d9..c1341db01a 100644 --- 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 |