eiwd

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

commit bf9d2b6c52c31700d32767d1f35d73c8686cff77
parent 5e79cda7c68f4389efd3b89e95879b91e275662b
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 25 Feb 2021 14:00:58 -0800

test-runner: allow radio remove failure

This is somewhat of an open issue/TODO but for now this avoids
the exception caused by trying to remove a radio that has been
moved to a namespace. Once a radio is moved hwsim loses that phy
and can no longer interact with it. This causes the Destroy()
method call to fail.

Diffstat:
Mtools/test-runner | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/test-runner b/tools/test-runner @@ -395,7 +395,12 @@ class VirtualRadio(Radio): def __del__(self): super().__del__() - self._radio.remove() + # If the radio was moved into a namespace this will fail + try: + self._radio.remove() + except: + pass + self._radio = None def __str__(self):