From 181797a2a94ba9a139cc700ae7ede9b6ca605048 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 19 Jan 2011 22:03:36 +0000 Subject: applications/ffwizard: Just realized we still need to set the bssid for ch. 10. --- applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-ffwizard/luasrc/model/cbi') diff --git a/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua index d37a55b43d..bc8bfd61cb 100644 --- a/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua +++ b/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua @@ -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 -- cgit v1.2.3