gluon-mesh-batman-adv-core: prepare for 802.11s mesh
keep macfilter and maclist config after fw-update
This commit is contained in:
parent
46f996b4f0
commit
955dc886a8
@ -87,6 +87,8 @@ end
|
|||||||
local function configure_mesh(config, radio, index, suffix)
|
local function configure_mesh(config, radio, index, suffix)
|
||||||
local name = 'mesh_' .. radio
|
local name = 'mesh_' .. radio
|
||||||
local disabled = is_disabled(config, name)
|
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('network', name)
|
||||||
uci:delete('wireless', name)
|
uci:delete('wireless', name)
|
||||||
@ -110,6 +112,8 @@ local function configure_mesh(config, radio, index, suffix)
|
|||||||
mcast_rate = config.mcast_rate,
|
mcast_rate = config.mcast_rate,
|
||||||
ifname = suffix and 'mesh' .. suffix,
|
ifname = suffix and 'mesh' .. suffix,
|
||||||
disabled = disabled,
|
disabled = disabled,
|
||||||
|
macfilter = macfilter,
|
||||||
|
maclist = maclist,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user