gluon-core: move preserve_channels setting to /etc/config/gluon
/etc/config/gluon-core is used for nothing else. As /etc/config/gluon uses a named wireless section, also change the get_first() to get().
This commit is contained in:
parent
b68a07e930
commit
12127813c5
@ -123,7 +123,7 @@ function M.foreach_radio(uci, f)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.preserve_channels(uci)
|
function M.preserve_channels(uci)
|
||||||
return uci:get_first('gluon-core', 'wireless', 'preserve_channels')
|
return uci:get('gluon', 'wireless', 'preserve_channels')
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.device_supports_wpa3()
|
function M.device_supports_wpa3()
|
||||||
|
Loading…
Reference in New Issue
Block a user