Skip to content
Snippets Groups Projects
Unverified Commit 12127813 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

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().
parent b68a07e9
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ function M.foreach_radio(uci, f) ...@@ -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()
......
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