]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
mka: Do not force entry into INIT state on CP state machine creation
authorJouni Malinen <j@w1.fi>
Thu, 27 Dec 2018 09:33:46 +0000 (11:33 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 27 Dec 2018 09:33:46 +0000 (11:33 +0200)
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>
src/pae/ieee802_1x_cp.c

index 5ff3fff9fd6ad88c510df69d74d49b5915304796..8cdce30e80fb942511ac72d7e1711664a9d321ca 100644 (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;