mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
auto-t: wpas.py: add disconnect()
This commit is contained in:
parent
627e54eb20
commit
c5fb68bb2e
@ -288,6 +288,9 @@ class Wpas:
|
|||||||
self._ctrl_request('DPP_BOOTSTRAP_REMOVE *')
|
self._ctrl_request('DPP_BOOTSTRAP_REMOVE *')
|
||||||
self.wait_for_result()
|
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
|
# Probably needed: remove references to self so that the GC can call __del__ automatically
|
||||||
def clean_up(self):
|
def clean_up(self):
|
||||||
if self.io_watch is not None:
|
if self.io_watch is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user