test-runner: wait for individual hostapd control sockets

This commit is contained in:
James Prestwood 2021-08-13 09:24:36 -07:00 committed by Denis Kenzior
parent 23cf6cb2e4
commit 4e3cedc901
1 changed files with 3 additions and 0 deletions

View File

@ -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)