3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

test-runner: use Process to start hostapd

Since the hostapd process object is tracked by the Hostapd class there
is no sense of keeping it in the process list as well.
This commit is contained in:
James Prestwood 2021-09-07 09:54:37 -07:00 committed by Denis Kenzior
parent 165557070e
commit ac395525c8

View File

@ -499,7 +499,7 @@ class Hostapd:
if ctx.is_verbose('hostapd'): if ctx.is_verbose('hostapd'):
args.append('-d') args.append('-d')
self.process = ctx.start_process(args) self.process = Process(args)
self.process.wait_for_socket(self.global_ctrl_iface, 30) self.process.wait_for_socket(self.global_ctrl_iface, 30)