Merge pull request #2210 from blocktrron/mesh-sae-unused-params

mesh-wireless-sae: drop unused function parameters
This commit is contained in:
Martin Weinelt 2021-05-02 13:58:58 +02:00 committed by GitHub
commit 46d2008eef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ local function configure_sae(vif)
uci:set('wireless', vif, 'key', site.wifi.mesh.sae_passphrase() or hash.md5(site.prefix6()))
end
wireless.foreach_radio(uci, function(radio, _, _)
wireless.foreach_radio(uci, function(radio)
local radio_name = radio['.name']
local vif = 'mesh_' .. radio_name
local enable = site.wifi.mesh.sae(false)