3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

auto-t: fix python interface handler for devices

This commit is contained in:
Tim Kourt 2018-05-21 13:35:04 -07:00 committed by Denis Kenzior
parent ef610e0f47
commit 6ccb99d98b

View File

@ -630,7 +630,7 @@ class DeviceList(collections.Mapping):
self._dict.pop(key).remove()
def _interfaces_added_handler(self, path, interfaces):
self._dict[path] = Device(interfaces[IWD_DEVICE_INTERFACE])
self._dict[path] = Device(path, interfaces[IWD_DEVICE_INTERFACE])
def _interfaces_removed_handler(self, path, interfaces):
del _dict[path]