Merge r4128
This commit is contained in:
parent
bcb9241d46
commit
d158c5b9f0
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ local wifidata = luci.sys.wifi.getiwconfig()
|
|||
local ifaces = {}
|
||||
|
||||
for k, v in pairs(wireless) do
|
||||
if v[".type"] == "wifi-iface" and luci.util.contains(ffwifs, v.device) then
|
||||
if v[".type"] == "wifi-iface" and (
|
||||
luci.util.contains(ffwifs, v.device) or
|
||||
( #ffwifs == 0 and (not v.encryption or v.encryption == "none") ) )
|
||||
then
|
||||
table.insert(ifaces, v)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue