3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

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.
This commit is contained in:
James Prestwood 2022-01-11 16:55:57 -08:00 committed by Denis Kenzior
parent 0b36f497c5
commit 692d137a21

View File

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