diff --git a/package/gluon-private-wifi/luasrc/lib/gluon/upgrade/325-gluon-private-wifi b/package/gluon-private-wifi/luasrc/lib/gluon/upgrade/325-gluon-private-wifi index 2f46267b06..8facf45d95 100755 --- a/package/gluon-private-wifi/luasrc/lib/gluon/upgrade/325-gluon-private-wifi +++ b/package/gluon-private-wifi/luasrc/lib/gluon/upgrade/325-gluon-private-wifi @@ -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') diff --git a/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua b/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua index c69d22c39a..1be55abdff 100644 --- a/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua +++ b/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua @@ -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, })