commit c5fb68bb2ebebb17fb65ba56b7fbfbb12c0c94ca
parent 627e54eb2084ea1ded41db32e949ee7201f9abd7
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 12 Jan 2022 10:08:44 -0800
auto-t: wpas.py: add disconnect()
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py
@@ -288,6 +288,9 @@ class Wpas:
self._ctrl_request('DPP_BOOTSTRAP_REMOVE *')
self.wait_for_result()
+ def disconnect(self):
+ self._ctrl_request('DISCONNECT')
+
# Probably needed: remove references to self so that the GC can call __del__ automatically
def clean_up(self):
if self.io_watch is not None: