mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
dpp-nfc: Stop process after successful handover client completion
terminate_now was not being set in the only_one case with connection handover. Set it for that case as well as the tag cases to automatically close down the link once it is not needed anymore. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
b00bbbfe54
commit
dc0795e4ff
@ -476,8 +476,8 @@ def run_dpp_handover_client(handover, alt=False):
|
|||||||
continue_loop = False
|
continue_loop = False
|
||||||
|
|
||||||
global no_wait
|
global no_wait
|
||||||
if no_wait:
|
if no_wait or only_one:
|
||||||
print("Trying to exit..")
|
summary("Trying to exit..")
|
||||||
global terminate_now
|
global terminate_now
|
||||||
terminate_now = True
|
terminate_now = True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user