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>
This commit is contained in:
Jouni Malinen 2018-12-27 11:33:46 +02:00
parent 785b219abd
commit 1cb5082567

View file

@ -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;