commit 692d137a2129b3f32734c6a4590e30269202c94d
parent 0b36f497c5ed7d77bda3d94baafb6504a5fc1aa8
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 11 Jan 2022 16:55:57 -0800
auto-t: wpas.py: add configurator_remove
wpa_supplicant has a limited number of configurator IDs, and its
good practice to remove them after we are done.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py
@@ -282,6 +282,12 @@ class Wpas:
self.wait_for_event('DPP-AUTH-SUCCESS')
self.wait_for_event('DPP-CONF-SENT')
+ def dpp_configurator_remove(self):
+ self._ctrl_request('DPP_CONFIGURATOR_REMOVE *')
+ self.wait_for_result()
+ self._ctrl_request('DPP_BOOTSTRAP_REMOVE *')
+ self.wait_for_result()
+
# 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: