--- autotests/util/iwd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index 9bfc8c1a..c1349bbd 100755 --- a/autotests/util/iwd.py +++ b/autotests/util/iwd.py @@ -467,7 +467,7 @@ class Device(IWDDBusAbstract): error_handler=self._failure) self._wait_for_async_op() - def start_ap(self, ssid, psk): + def start_ap(self, ssid): try: self._prop_proxy.Set(IWD_DEVICE_INTERFACE, 'Mode', 'ap') except Exception as e: @@ -476,7 +476,7 @@ class Device(IWDDBusAbstract): self._ap_iface = dbus.Interface(self._bus.get_object(IWD_SERVICE, self.device_path), IWD_AP_INTERFACE) - self._ap_iface.Start(ssid, psk, reply_handler=self._success, + self._ap_iface.Start(ssid, reply_handler=self._success, error_handler=self._failure) self._wait_for_async_op() -- 2.26.2