Skip to content
Snippets Groups Projects
Unverified Commit 2b9dd54f authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

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

parent 51a3e8e0
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,7 @@ local function configure_client(config, radio, index, suffix) ...@@ -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) ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment