diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-15 17:06:33 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-15 17:06:33 +0000 |
commit | 21c3e370626fb49395ccba43df540e5ee068e0bd (patch) | |
tree | b453f1eb779217bf287f0bdf0c619bb345afac4c /libs/sys/luasrc | |
parent | 2a68a29c5789d8c950d887d123d21de644c6a1c7 (diff) |
libs/sys: mhz are not floats
Diffstat (limited to 'libs/sys/luasrc')
-rw-r--r-- | libs/sys/luasrc/sys.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua index c09c5e273e..460764c15f 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 |