gen-interfaces: Fix bug when generating on boards with mounted Wi-Fi chipsets

These should not appear in a generated factory-config or failure-config.
This commit is contained in:
Mattias Walström
2025-09-12 23:23:14 +02:00
parent 153ceda2f4
commit 8146e0570e
+1 -1
View File
@@ -96,8 +96,8 @@ filter_iface_ports()
iface_devs=""
for phy in $ifaces; do
found=""
[ -d "/sys/class/net/${phy}/wireless" ] && continue
for port in $ports; do
[ -d "/sys/class/net/${port}/wireless" ] && continue
if [ "$port" = "$phy" ]; then
found=true
break