3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-19 02:39:29 +01:00

test: Update paths in list-devices

This commit is contained in:
Andrew Zaborowski 2020-02-15 01:17:47 +01:00 committed by Denis Kenzior
parent dd2677402a
commit 0b34371253

View File

@ -21,7 +21,8 @@ for path in objects:
node = node.children[subpath]
node.interfaces.update(objects[path])
for path, phy in tree.children.items():
root = tree.children['/net'].children['/net/connman'].children['/net/connman/iwd']
for path, phy in root.children.items():
if 'net.connman.iwd.Adapter' not in phy.interfaces:
continue