From 1cb5082567572118a2743f4538db1007cb9c365b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 27 Dec 2018 11:33:46 +0200 Subject: [PATCH] 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 --- src/pae/ieee802_1x_cp.c | 1 - 1 file changed, 1 deletion(-) 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;