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

fixes #365
This commit is contained in:
Nils Schneider 2015-05-09 22:10:32 +02:00
parent e51560beb7
commit e8a483c9a1

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)