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) ...@@ -12,7 +12,7 @@ wireless.foreach_radio(uci, function(radio)
return return
end end
uci:set('wireless', name, 'ifname', suffix and 'wan' .. suffix) uci:set('wireless', name, 'ifname', suffix and 'wl-wan' .. suffix)
end) end)
uci:save('wireless') uci:save('wireless')
...@@ -81,7 +81,7 @@ function f:write() ...@@ -81,7 +81,7 @@ function f:write()
ssid = ssid.data, ssid = ssid.data,
key = key.data, key = key.data,
macaddr = macaddr, macaddr = macaddr,
ifname = suffix and 'wan' .. suffix, ifname = suffix and 'wl-wan' .. suffix,
disabled = false, disabled = false,
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment