mka: Fix READY to ABANDON logic in CP state machine

Per IEEE Std 802.1X-2010, Figure 12-2 (CP state machine), READY should
move to ABANDON (not RECEIVE) when new_sak or changed_connect is true.

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 3dce43ba5f
commit 8ae29b4e9c

View file

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