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.
This commit is contained in:
parent
a63be6928c
commit
a922944fee
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user