git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6838970
)
applications/ffwizard: Just realized we still need to set the bssid for ch. 10.
author
Manuel Munz
<redacted>
Wed, 19 Jan 2011 22:03:36 +0000
(22:03 +0000)
committer
Manuel Munz
<redacted>
Wed, 19 Jan 2011 22:03:36 +0000
(22:03 +0000)
applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua
patch
|
blob
|
history
diff --git
a/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua
b/applications/luci-ffwizard/luasrc/model/cbi/ffwizard.lua
index d37a55b43d75a171473000313468cec2206e4df1..bc8bfd61cb3bb6b4cc7748b1ffca25ac4730ce8b 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT