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

test-runner: don't use start_process for transient processes

Any process which is short lived and  waited for should just use
Process directly as to not add to the process queue.
This commit is contained in:
James Prestwood 2021-09-07 09:54:35 -07:00 committed by Denis Kenzior
parent 7123f47f84
commit 920dc5b087

View File

@ -464,8 +464,8 @@ class Hostapd:
print("Initializing hostapd instances")
ctx.start_process(['ip', 'link', 'set', 'eth0', 'up']).wait()
ctx.start_process(['ip', 'link', 'set', 'eth1', 'up']).wait()
Process(['ip', 'link', 'set', 'eth0', 'up']).wait()
Process(['ip', 'link', 'set', 'eth1', 'up']).wait()
self.global_ctrl_iface = '/var/run/hostapd/ctrl'