gluon-client-bridge: fix 320-gluon-client-bridge-wireless coding style

This commit is contained in:
Matthias Schiffer 2017-08-08 04:05:20 +02:00
parent 51a3e8e072
commit 2b9dd54f00
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -32,8 +32,7 @@ local function configure_client(config, radio, index, suffix)
return return
end end
uci:section('wireless', 'wifi-iface', name, uci:section('wireless', 'wifi-iface', name, {
{
device = radio, device = radio,
network = 'client', network = 'client',
mode = 'ap', mode = 'ap',
@ -41,8 +40,7 @@ local function configure_client(config, radio, index, suffix)
macaddr = macaddr, macaddr = macaddr,
ifname = suffix and 'client' .. suffix, ifname = suffix and 'client' .. suffix,
disabled = disabled or false, disabled = disabled or false,
} })
)
end end
local function configure_radio(radio, index, config) local function configure_radio(radio, index, config)