Close all the control interface sockets and delete the client socket
files explicitly at the end of the test loop. This removes needs for
various workarounds that tried to force WpaSupplicant and Ctrl class
__del__() to remove the sockets.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
if not reset_ok:
print("Terminating early due to device reset failure")
break
+
+ for d in dev:
+ d.close_ctrl()
+
if args.stdin_ctrl:
set_term_echo(sys.stdin.fileno(), True)