mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
autotests: Initialise P2PPeer objects with correct namespace
This commit is contained in:
parent
617e99a423
commit
c54ba7158c
@ -826,7 +826,7 @@ class P2PDevice(IWDDBusAbstract):
|
||||
self._peer_dict = {}
|
||||
|
||||
for path, rssi in self._iface.GetPeers():
|
||||
self._peer_dict[path] = old_dict[path] if path in old_dict else P2PPeer(path)
|
||||
self._peer_dict[path] = old_dict[path] if path in old_dict else P2PPeer(path, namespace=self._namespace)
|
||||
self._peer_dict[path].rssi = rssi
|
||||
|
||||
return self._peer_dict
|
||||
|
Loading…
Reference in New Issue
Block a user