[PATCH 04/15] auto-t: add pmksa_flush() to hostapd module

James Prestwood
2024-11-22T15:16:03Z

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