From: Jouni Malinen Date: Thu, 27 Dec 2018 09:33:46 +0000 (+0200) Subject: mka: Do not force entry into INIT state on CP state machine creation X-Git-Tag: hostap_2_8~679 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cb5082567572118a2743f4538db1007cb9c365b;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/pae/ieee802_1x_cp.c b/src/pae/ieee802_1x_cp.c index 5ff3fff9f..8cdce30e8 100644 --- a/src/pae/ieee802_1x_cp.c +++ b/src/pae/ieee802_1x_cp.c @@ -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;