auto-t: iwd.py: use args[0] for station debug interface

Passing *args, **kwargs into StationDebug ended up initializing the
class with Station properties since devices can be initialized from
existing property dictionaries. Since the object path is all
StationDebug needs, pass args[0] instead.
This commit is contained in:
James Prestwood 2021-11-22 12:44:24 -08:00 committed by Denis Kenzior
parent 876fe9f210
commit 44faa81a06
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class Device(IWDDBusAbstract):
IWDDBusAbstract.__init__(self, *args, **kwargs)
self._station_debug = StationDebug(*args, **kwargs)
self._station_debug = StationDebug(args[0])
@property
def _wps_manager(self):