libs/sys: fix typo in last commit
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 13 May 2009 18:45:13 +0000 (18:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 13 May 2009 18:45:13 +0000 (18:45 +0000)
libs/sys/luasrc/sys.lua

index 3412b32..d606248 100644 (file)
@@ -702,7 +702,7 @@ function wifi.channels(iface)
        end
 
        if #cns == 0 then
        end
 
        if #cns == 0 then
-               cms = {
+               cns = {
                        2.412, 2.417, 2.422, 2.427, 2.432, 2.437,
                        2.442, 2.447, 2.452, 2.457, 2.462
                }
                        2.412, 2.417, 2.422, 2.427, 2.432, 2.437,
                        2.442, 2.447, 2.452, 2.457, 2.462
                }