eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 94cc957c5effa91b3b361b78d938edf553c0fd33
parent 86cfa25910bce9d423629edcfdd8e44bf17051ff
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue,  8 Feb 2022 09:35:38 -0800

auto-t: iwd.py: add wait argument to scan()

Lets the test continue without waiting for the method return

Diffstat:
Mautotests/util/iwd.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py @@ -450,7 +450,7 @@ class Device(IWDDBusAbstract): self._station_debug._prop_proxy.Set(IWD_STATION_DEBUG_INTERFACE, 'AutoConnect', value) - def scan(self): + def scan(self, wait=True): '''Schedule a network scan. Possible exception: BusyEx @@ -460,7 +460,8 @@ class Device(IWDDBusAbstract): reply_handler=self._success, error_handler=self._failure) - self._wait_for_async_op() + if wait: + self._wait_for_async_op() def disconnect(self): '''Disconnect from the network