auto-t: wpas.py: add disconnect()

This commit is contained in:
James Prestwood 2022-01-12 10:08:44 -08:00 committed by Denis Kenzior
parent 627e54eb20
commit c5fb68bb2e
1 changed files with 3 additions and 0 deletions

View File

@ -288,6 +288,9 @@ class Wpas:
self._ctrl_request('DPP_BOOTSTRAP_REMOVE *')
self.wait_for_result()
def disconnect(self):
self._ctrl_request('DISCONNECT')
# 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: