Skip to content

Commit

Permalink
private-wifi: rename ifname to wl-wanX (#3294)
Browse files Browse the repository at this point in the history
Rename this to avoid a potential collision with wired ethernet interfaces using the same name
  • Loading branch information
maurerle authored Jun 28, 2024
1 parent bdf74d8 commit 68f6710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down

0 comments on commit 68f6710

Please sign in to comment.