Skip to content

Commit 0b7c87a

Browse files
author
Mika Leppänen
committed
Retry timeout based on NW size is set after receiving identity
1 parent 7ec9ef1 commit 0b7c87a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Security/protocols/eap_tls_sec_prot/supp_eap_tls_sec_prot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ static void supp_eap_tls_sec_prot_state_machine(sec_prot_t *prot)
415415
return;
416416
}
417417

418-
// Set default timeout for the total maximum length of the negotiation
419-
sec_prot_default_timeout_set(&data->common);
418+
// Set retry timeout based on network size
419+
data->common.ticks = retry_timeout;
420420

421421
// Store sequence ID
422422
supp_eap_tls_sec_prot_seq_id_update(prot);

0 commit comments

Comments
 (0)