mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
auto-t: hostapd.py: add disable()
This commit is contained in:
parent
f8b703efed
commit
e11ad83222
@ -152,6 +152,9 @@ class HostapdCLI(object):
|
|||||||
ctx.start_process(self.cmdline + ['disable']).wait()
|
ctx.start_process(self.cmdline + ['disable']).wait()
|
||||||
ctx.start_process(self.cmdline + ['enable']).wait()
|
ctx.start_process(self.cmdline + ['enable']).wait()
|
||||||
|
|
||||||
|
def disable(self):
|
||||||
|
ctx.start_process(self.cmdline + ['disable']).wait()
|
||||||
|
|
||||||
def list_sta(self):
|
def list_sta(self):
|
||||||
proc = ctx.start_process(self.cmdline + ['list_sta'])
|
proc = ctx.start_process(self.cmdline + ['list_sta'])
|
||||||
proc.wait()
|
proc.wait()
|
||||||
|
Loading…
Reference in New Issue
Block a user