gluon-mesh-batman-adv-core: remove unused variable in upgrade script
This commit is contained in:
parent
6e22c667de
commit
949420158f
@ -77,7 +77,6 @@ uci:foreach('wireless', 'wifi-device',
|
|||||||
for index, radio in ipairs(radios) do
|
for index, radio in ipairs(radios) do
|
||||||
local hwmode = uci:get('wireless', radio, 'hwmode')
|
local hwmode = uci:get('wireless', radio, 'hwmode')
|
||||||
|
|
||||||
local config
|
|
||||||
if hwmode == '11g' or hwmode == '11ng' then
|
if hwmode == '11g' or hwmode == '11ng' then
|
||||||
configure_radio(radio, index, site.wifi24)
|
configure_radio(radio, index, site.wifi24)
|
||||||
elseif hwmode == '11a' or hwmode == '11na' then
|
elseif hwmode == '11a' or hwmode == '11na' then
|
||||||
|
Loading…
Reference in New Issue
Block a user