3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

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

View File

@ -497,6 +497,9 @@ class Hostapd:
self.process.wait_for_socket(self.global_ctrl_iface, 30) 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): def attach_cli(self):
for hapd in self.instances: for hapd in self.instances:
hapd.cli = importlib.import_module('hostapd').HostapdCLI(config=hapd.config) hapd.cli = importlib.import_module('hostapd').HostapdCLI(config=hapd.config)