From ee52bc60ffd5595b8a6f0c95e0b2659b55171c2b Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 22 Nov 2024 07:15:40 -0800 Subject: [PATCH] auto-t: add pmksa_flush() to hostapd module --- autotests/util/hostapd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotests/util/hostapd.py b/autotests/util/hostapd.py index e5e35a96..611d8a63 100644 --- a/autotests/util/hostapd.py +++ b/autotests/util/hostapd.py @@ -368,3 +368,7 @@ class HostapdCLI(object): others = [h for h in args if h != hapd] hapd._add_neighbors(*others) + + def pmksa_flush(self): + cmd = self.cmdline + ['pmksa_flush'] + ctx.start_process(cmd).wait()