From e11ad832220e9d0709e082ade6938bcc1fd025ab Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 15 Sep 2021 10:36:23 -0700 Subject: [PATCH] auto-t: hostapd.py: add disable() --- autotests/util/hostapd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py index 07d27f1b..7cb3225a 100644 --- 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()