From 4e3cedc90179e0d3ea487e86e12f279ef545ec27 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 13 Aug 2021 09:24:36 -0700 Subject: [PATCH] test-runner: wait for individual hostapd control sockets --- tools/test-runner | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/test-runner b/tools/test-runner index 22e9066f..90a5f87a 100755 --- a/tools/test-runner +++ b/tools/test-runner @@ -497,6 +497,9 @@ class Hostapd: self.process.wait_for_socket(self.global_ctrl_iface, 30) + for hapd in self.instances: + self.process.wait_for_socket(hapd.intf.ctrl_interface, 30) + def attach_cli(self): for hapd in self.instances: hapd.cli = importlib.import_module('hostapd').HostapdCLI(config=hapd.config)