Skip to content
Snippets Groups Projects
Commit 955dc886 authored by kb-light's avatar kb-light
Browse files

gluon-mesh-batman-adv-core: prepare for 802.11s mesh

keep macfilter and maclist config after fw-update
parent 46f996b4
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,8 @@ end
local function configure_mesh(config, radio, index, suffix)
local name = 'mesh_' .. radio
local disabled = is_disabled(config, name)
local macfilter = uci:get('wireless', name, 'macfilter')
local maclist = uci:get('wireless', name, 'maclist')
uci:delete('network', name)
uci:delete('wireless', name)
......@@ -110,6 +112,8 @@ local function configure_mesh(config, radio, index, suffix)
mcast_rate = config.mcast_rate,
ifname = suffix and 'mesh' .. suffix,
disabled = disabled,
macfilter = macfilter,
maclist = maclist,
}
)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment