From: James Prestwood <prestwoj at gmail.com>
To: iwd at lists.01.org
Subject: [PATCH 09/10] auto-t: wpas.py: add configurator_remove
Date: Tue, 11 Jan 2022 16:55:57 -0800 [thread overview]
Message-ID: <20220112005558.1158405-9-prestwoj@gmail.com> (raw)
In-Reply-To: 20220112005558.1158405-1-prestwoj@gmail.com
[-- 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
reply other threads:[~2022-01-12 0:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220112005558.1158405-9-prestwoj@gmail.com \
--to=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox