From 21c3e370626fb49395ccba43df540e5ee068e0bd Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 15 Nov 2009 17:06:33 +0000 Subject: [PATCH] libs/sys: mhz are not floats --- libs/sys/luasrc/sys.lua | 22 +++++++++++----------- 1 file 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 -- 2.25.1