From: Manuel Munz Date: Wed, 19 Jan 2011 22:03:36 +0000 (+0000) Subject: applications/ffwizard: Just realized we still need to set the bssid for ch. 10. X-Git-Tag: 0.11.0~2352 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=181797a2a94ba9a139cc700ae7ede9b6ca605048;hp=6838970c59841907fdcdd5843073a5d038fa42f9;ds=sidebyside applications/ffwizard: Just realized we still need to set the bssid for ch. 10. --- diff --git a/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua index d37a55b43..bc8bfd61c 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