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

Fixes #1809

Fixes: bf55249159 ("gluon-core: add outdoor support for 5 ghz radios")
This commit is contained in:
Matthias Schiffer 2019-09-06 20:37:37 +02:00
parent fdf552e55e
commit b2f5f71c43
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ if has_5ghz_radio() then
local ht = r:option(ListValue, 'outdoor_htmode', translate('HT Mode') .. ' (' .. radio .. ')')
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)"))
for mode, available in pairs(iwinfo.nl80211.htmodelist(phy)) do