applications/ffwizard: Just realized we still need to set the bssid for ch. 10.
authorManuel Munz <freifunk@somakoma.de>
Wed, 19 Jan 2011 22:03:36 +0000 (22:03 +0000)
committerManuel Munz <freifunk@somakoma.de>
Wed, 19 Jan 2011 22:03:36 +0000 (22:03 +0000)
applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua

index d37a55b43d75a171473000313468cec2206e4df1..bc8bfd61cb3bb6b4cc7748b1ffca25ac4730ce8b 100644 (file)
@@ -795,6 +795,8 @@ function main.write(self, section, value)
                                local chan = tonumber(channel)
                                if chan >= 0 and chan < 10 then
                                        bssid = channel .. "2:CA:FF:EE:BA:BE"
+                               elseif chan == 10 then 
+                                       bssid = "02:CA:FF:EE:BA:BE" 
                                elseif chan >= 11 and chan <= 14 then
                                        bssid = string.format("%X",channel) .. "2:CA:FF:EE:BA:BE"
                                elseif chan >= 36 and chan <= 64 then