mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-18 10:19:24 +01:00
auto-t: fix python interface handler for devices
This commit is contained in:
parent
ef610e0f47
commit
6ccb99d98b
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user