mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Explicitly close hostapd global control socket on RELOG
Without this, the run-tests.py socket could have been left in attached to receive all hostapd global events during a test case. This could hit the limit of pending messages on the socket since there is nothing clearing this socket during the execution of a test case. Fix this by explicitly closing the socket after having completed the RELOG command. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
55cd405a44
commit
1f9427c9cd
@ -483,6 +483,9 @@ def main():
|
||||
result = "FAIL"
|
||||
hapd = None
|
||||
rename_log(args.logdir, 'hostapd', name, hapd)
|
||||
if hapd:
|
||||
del hapd
|
||||
hapd = None
|
||||
|
||||
wt = Wlantest()
|
||||
rename_log(args.logdir, 'hwsim0.pcapng', name, wt)
|
||||
|
Loading…
Reference in New Issue
Block a user