mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user