From 1cb0f63b0e457de2f80d822469bb7debcc9c6b13 Mon Sep 17 00:00:00 2001 From: Mike Siedzik Date: Tue, 20 Feb 2018 14:28:41 -0500 Subject: [PATCH] mka: Fix READY to TRANSMIT logic in CP state machine Per IEEE Std 802.1X-2010, Figure 12-2 (CP state machine), READY to TRANSMIT transition includes !controlledPortEnabled condition. Signed-off-by: Michael Siedzik --- src/pae/ieee802_1x_cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pae/ieee802_1x_cp.c b/src/pae/ieee802_1x_cp.c index 6a4899229..096f3ef42 100644 --- a/src/pae/ieee802_1x_cp.c +++ b/src/pae/ieee802_1x_cp.c @@ -411,7 +411,7 @@ SM_STEP(CP) case CP_READY: if (sm->new_sak || changed_connect(sm)) SM_ENTER(CP, ABANDON); - if (sm->server_transmitting) + if (sm->server_transmitting || !sm->controlled_port_enabled) SM_ENTER(CP, TRANSMIT); break; case CP_ABANDON: