Skip to content

Commit

Permalink
Corrected four way handshake Message 2 retry
Browse files Browse the repository at this point in the history
There was a bug in retry logic which failed the protocol.
  • Loading branch information
Mika Leppänen committed Mar 12, 2019
1 parent 1bcf070 commit d963915
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Security/protocols/fwh_sec_prot/supp_fwh_sec_prot.c
Expand Up @@ -346,6 +346,7 @@ static void supp_fwh_sec_prot_state_machine(sec_prot_t *prot)
// Send 4WH message 2
supp_fwh_sec_prot_message_send(prot, FWH_MESSAGE_2);
data->common.ticks = 30 * 10; // 30 seconds
return;
} else if (data->recv_msg != FWH_MESSAGE_3) {
return;
}
Expand Down

0 comments on commit d963915

Please sign in to comment.