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

fixes #365
remotes/1699402720531464663/tmp_refs/heads/stable
Nils Schneider 2015-05-09 22:10:32 +02:00
parent e51560beb7
commit e8a483c9a1
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ function f.handle(self, state, data)
uci:set('wireless', 'client_' .. radio, "disabled", clientdisabled)
local meshdisabled = 0
if data[radio .. '_client_enabled'] == '0' then
if data[radio .. '_mesh_enabled'] == '0' then
meshdisabled = 1
end
uci:set('wireless', 'mesh_' .. radio, "disabled", meshdisabled)