Skip to content
Snippets Groups Projects
Commit e8a483c9 authored by Nils Schneider's avatar Nils Schneider
Browse files

luci-wifi-config: don't disable mesh interface

fixes #365
parent e51560be
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ function f.handle(self, state, data) ...@@ -127,7 +127,7 @@ function f.handle(self, state, data)
uci:set('wireless', 'client_' .. radio, "disabled", clientdisabled) uci:set('wireless', 'client_' .. radio, "disabled", clientdisabled)
local meshdisabled = 0 local meshdisabled = 0
if data[radio .. '_client_enabled'] == '0' then if data[radio .. '_mesh_enabled'] == '0' then
meshdisabled = 1 meshdisabled = 1
end end
uci:set('wireless', 'mesh_' .. radio, "disabled", meshdisabled) uci:set('wireless', 'mesh_' .. radio, "disabled", meshdisabled)
......
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