Wireless Daemon for Linux
 help / color / mirror / Atom feed
* [PATCH 09/10] auto-t: wpas.py: add configurator_remove
@ 2022-01-12  0:55 James Prestwood
  0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2022-01-12  0:55 UTC (permalink / raw)
  To: iwd 

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

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:
-- 
2.31.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-12  0:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-12  0:55 [PATCH 09/10] auto-t: wpas.py: add configurator_remove James Prestwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox