summaryrefslogtreecommitdiffhomepage
path: root/libs/sys/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-15 17:06:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-15 17:06:33 +0000
commit21c3e370626fb49395ccba43df540e5ee068e0bd (patch)
treeb453f1eb779217bf287f0bdf0c619bb345afac4c /libs/sys/luasrc
parent2a68a29c5789d8c950d887d123d21de644c6a1c7 (diff)
libs/sys: mhz are not floats
Diffstat (limited to 'libs/sys/luasrc')
-rw-r--r--libs/sys/luasrc/sys.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua
index c09c5e273..460764c15 100644
--- a/libs/sys/luasrc/sys.lua
+++ b/libs/sys/luasrc/sys.lua
@@ -695,17 +695,17 @@ function wifi.channels(iface)
if not cns or #cns == 0 then
cns = {
- {channel = 1, mhz = 2.412},
- {channel = 2, mhz = 2.417},
- {channel = 3, mhz = 2.422},
- {channel = 4, mhz = 2.427},
- {channel = 5, mhz = 2.432},
- {channel = 6, mhz = 2.437},
- {channel = 7, mhz = 2.442},
- {channel = 8, mhz = 2.447},
- {channel = 9, mhz = 2.452},
- {channel = 10, mhz = 2.457},
- {channel = 11, mhz = 2.462}
+ {channel = 1, mhz = 2412},
+ {channel = 2, mhz = 2417},
+ {channel = 3, mhz = 2422},
+ {channel = 4, mhz = 2427},
+ {channel = 5, mhz = 2432},
+ {channel = 6, mhz = 2437},
+ {channel = 7, mhz = 2442},
+ {channel = 8, mhz = 2447},
+ {channel = 9, mhz = 2452},
+ {channel = 10, mhz = 2457},
+ {channel = 11, mhz = 2462}
}
end