gluon-client-bridge: fix 320-gluon-client-bridge-wireless coding style
This commit is contained in:
parent
51a3e8e072
commit
2b9dd54f00
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user