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

gluon-web-wifi-config: fix incorrect UCI call

Fixes #1809

Fixes: bf552491 ("gluon-core: add outdoor support for 5 ghz radios")
parent fdf552e5
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ if has_5ghz_radio() then ...@@ -136,7 +136,7 @@ if has_5ghz_radio() then
local ht = r:option(ListValue, 'outdoor_htmode', translate('HT Mode') .. ' (' .. radio .. ')') local ht = r:option(ListValue, 'outdoor_htmode', translate('HT Mode') .. ' (' .. radio .. ')')
ht:depends(outdoor, true) ht:depends(outdoor, true)
ht.default = uci.get('gluon', 'wireless', 'outdoor_' .. radio .. '_htmode') or 'default' ht.default = uci:get('gluon', 'wireless', 'outdoor_' .. radio .. '_htmode') or 'default'
ht:value('default', translate("(default)")) ht:value('default', translate("(default)"))
for mode, available in pairs(iwinfo.nl80211.htmodelist(phy)) do for mode, available in pairs(iwinfo.nl80211.htmodelist(phy)) do
......
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