mka: Do not force entry into INIT state on CP state machine creation

Go through the SM_STEP_RUN() global transition to get into the INIT
state to follow the state machine design more closely.

Signed-off-by: Jouni Malinen <j@w1.fi>
master
Jouni Malinen 6 years ago
parent 785b219abd
commit 1cb5082567

@ -477,7 +477,6 @@ struct ieee802_1x_cp_sm * ieee802_1x_cp_sm_init(struct ieee802_1x_kay *kay)
secy_cp_control_confidentiality_offset(sm->kay,
sm->confidentiality_offset);
SM_ENTER(CP, INIT);
SM_STEP_RUN(CP);
return sm;

Loading…
Cancel
Save