From 692d137a2129b3f32734c6a4590e30269202c94d Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 11 Jan 2022 16:55:57 -0800 Subject: [PATCH] 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. --- autotests/util/wpas.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py index f8ef3357..b750ce31 100644 --- 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: