projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When editing an AP wireless network in LuCI, if one or more STA networks are also...
[project/luci.git]
/
modules
/
luci-mod-admin-full
/
luasrc
/
model
/
cbi
/
admin_network
/
wifi.lua
diff --git
a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
index
dd619b3
..
9a2bd5d
100644
(file)
--- a/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@
-143,7
+143,7
@@
local found_sta = nil
local _, net
if wnet:mode() ~= "sta" then
for _, net in ipairs(wdev:get_wifinets()) do
local _, net
if wnet:mode() ~= "sta" then
for _, net in ipairs(wdev:get_wifinets()) do
- if net:mode() == "sta" then
+ if net:mode() == "sta"
and net:get("disabled") ~= "1"
then
if not found_sta then
found_sta = {}
found_sta.channel = net:channel()
if not found_sta then
found_sta = {}
found_sta.channel = net:channel()