If ieee802_1x_kay_generate_new_sak fails, new_sak is incorrectly set false. Signed-off-by: Greg Goblirsch <gregg@xxxxxxxxxxxxxxxx> @@ -2645,10 +2671,10 @@ static void ieee802_1x_participant_timer(void *eloop_ctx, void *timeout_ctx) } if (participant->new_sak && participant->is_key_server) { - if (!ieee802_1x_kay_generate_new_sak(participant)) + if (!ieee802_1x_kay_generate_new_sak(participant)) { participant->to_dist_sak = true; - - participant->new_sak = false; + participant->new_sak = false; + } } if (participant->retry_count < MAX_RETRY_CNT || _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap