Skip to content
Snippets Groups Projects
Unverified Commit 68f6710d authored by Florian Maurer's avatar Florian Maurer Committed by GitHub
Browse files

private-wifi: rename ifname to wl-wanX (#3294)

Rename this to avoid a potential collision with wired ethernet interfaces using the same name
parent bdf74d81
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ wireless.foreach_radio(uci, function(radio)
return
end
uci:set('wireless', name, 'ifname', suffix and 'wan' .. suffix)
uci:set('wireless', name, 'ifname', suffix and 'wl-wan' .. suffix)
end)
uci:save('wireless')
......@@ -81,7 +81,7 @@ function f:write()
ssid = ssid.data,
key = key.data,
macaddr = macaddr,
ifname = suffix and 'wan' .. suffix,
ifname = suffix and 'wl-wan' .. suffix,
disabled = false,
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment