From 44faa81a06e310eb57d073dafd5603aba7913584 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 22 Nov 2021 12:44:24 -0800 Subject: [PATCH] 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. --- autotests/util/iwd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index 5e1e2721..185a31fe 100755 --- a/autotests/util/iwd.py +++ b/autotests/util/iwd.py @@ -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):