3
0
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:
James Prestwood 2021-09-15 10:36:23 -07:00 committed by Denis Kenzior
parent f8b703efed
commit e11ad83222

View File

@ -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()