diff options
author | Manuel Munz <freifunk@somakoma.de> | 2011-01-19 22:03:36 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2011-01-19 22:03:36 +0000 |
commit | 181797a2a94ba9a139cc700ae7ede9b6ca605048 (patch) | |
tree | 0a6429d05279bbf016a94930bd31d6667b871b5d /applications/luci-ffwizard/luasrc/model | |
parent | 6838970c59841907fdcdd5843073a5d038fa42f9 (diff) |
applications/ffwizard: Just realized we still need to set the bssid for ch. 10.
Diffstat (limited to 'applications/luci-ffwizard/luasrc/model')
-rw-r--r-- | applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 |