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 <msiedzik@extremenetworks.com>
This commit is contained in:
Mike Siedzik 2018-02-20 14:28:41 -05:00 committed by Jouni Malinen
parent 8ae29b4e9c
commit 1cb0f63b0e

View file

@ -411,7 +411,7 @@ SM_STEP(CP)
case CP_READY: case CP_READY:
if (sm->new_sak || changed_connect(sm)) if (sm->new_sak || changed_connect(sm))
SM_ENTER(CP, ABANDON); SM_ENTER(CP, ABANDON);
if (sm->server_transmitting) if (sm->server_transmitting || !sm->controlled_port_enabled)
SM_ENTER(CP, TRANSMIT); SM_ENTER(CP, TRANSMIT);
break; break;
case CP_ABANDON: case CP_ABANDON: