From c5fb68bb2ebebb17fb65ba56b7fbfbb12c0c94ca Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 12 Jan 2022 10:08:44 -0800 Subject: [PATCH] auto-t: wpas.py: add disconnect() --- autotests/util/wpas.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py index 440f6227..6b845232 100644 --- 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: