Skip to content

Commit de00ace

Browse files
author
Mika Leppänen
committed
Reduced EAP-TLS retries to from four to two
This reduces the time that one EAP-TLS negotiation can reserve resources.
1 parent bff9c6e commit de00ace

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/Security/protocols/eap_tls_sec_prot/auth_eap_tls_sec_prot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static const trickle_params_t eap_tls_trickle_params = {
7373
.Imin = 200, /* 20s; ticks are 100ms */
7474
.Imax = 450, /* 45s */
7575
.k = 0, /* infinity - no consistency checking */
76-
.TimerExpirations = 4
76+
.TimerExpirations = 2
7777
};
7878

7979
static uint16_t auth_eap_tls_sec_prot_size(void);

source/Security/protocols/eap_tls_sec_prot/supp_eap_tls_sec_prot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static const trickle_params_t eap_tls_trickle_params = {
7272
.Imin = 200, /* 20s; ticks are 100ms */
7373
.Imax = 450, /* 45s */
7474
.k = 0, /* infinity - no consistency checking */
75-
.TimerExpirations = 4
75+
.TimerExpirations = 2
7676
};
7777

7878
static uint16_t supp_eap_tls_sec_prot_size(void);

0 commit comments

Comments
 (0)