From: Jo-Philipp Wich Date: Sun, 15 Nov 2009 17:06:33 +0000 (+0000) Subject: libs/sys: mhz are not floats X-Git-Tag: 0.10.0~950 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21c3e370626fb49395ccba43df540e5ee068e0bd;p=oweals%2Fluci.git libs/sys: mhz are not floats --- 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