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
1 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,9 @@ class HostapdCLI(object):
ctx.start_process(self.cmdline + ['disable']).wait()
ctx.start_process(self.cmdline + ['enable']).wait()
def disable(self):
ctx.start_process(self.cmdline + ['disable']).wait()
def list_sta(self):
proc = ctx.start_process(self.cmdline + ['list_sta'])
proc.wait()