commit e11ad832220e9d0709e082ade6938bcc1fd025ab
parent f8b703efed3841c87041885c873f279ce98ef554
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 15 Sep 2021 10:36:23 -0700
auto-t: hostapd.py: add disable()
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py
@@ -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()