Skip to content

Commit d963915

Browse files
author
Mika Leppänen
committed
Corrected four way handshake Message 2 retry
There was a bug in retry logic which failed the protocol.
1 parent 1bcf070 commit d963915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/Security/protocols/fwh_sec_prot/supp_fwh_sec_prot.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ static void supp_fwh_sec_prot_state_machine(sec_prot_t *prot)
346346
// Send 4WH message 2
347347
supp_fwh_sec_prot_message_send(prot, FWH_MESSAGE_2);
348348
data->common.ticks = 30 * 10; // 30 seconds
349+
return;
349350
} else if (data->recv_msg != FWH_MESSAGE_3) {
350351
return;
351352
}

0 commit comments

Comments
 (0)