Skip to content

Commit 6c00aa2

Browse files
author
Mika Leppänen
committed
Correcting timeout handling
1 parent d04523e commit 6c00aa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/Security/protocols/eap_tls_sec_prot/supp_eap_tls_sec_prot.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,14 @@ static int8_t supp_eap_tls_sec_prot_message_send(sec_prot_t *prot, uint8_t eap_c
271271
static void supp_eap_tls_sec_prot_timer_timeout(sec_prot_t *prot, uint16_t ticks)
272272
{
273273
eap_tls_sec_prot_int_t *data = eap_tls_sec_prot_get(prot);
274-
sec_prot_timer_timeout_handle(prot, &data->common, &eap_tls_trickle_params, ticks);
275274

276275
if (data->burst_filt_timer > ticks) {
277276
data->burst_filt_timer -= ticks;
278277
} else {
279278
data->burst_filt_timer = 0;
280279
}
280+
281+
sec_prot_timer_timeout_handle(prot, &data->common, &eap_tls_trickle_params, ticks);
281282
}
282283

283284
static void supp_eap_tls_sec_prot_tls_create_confirm(sec_prot_t *tls_prot, sec_prot_result_e result)

0 commit comments

Comments
 (0)