mesh-wireless-sae: drop unused function parameters

Drop these unused parameters in the function description, as only the
first parameter is referenced within the function block.

(cherry picked from commit a922944fee)
This commit is contained in:
David Bauer 2021-05-02 02:19:58 +02:00
parent 3d11747e90
commit 52e7c20516

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)