mka: Fix RECEIVING to TRANSMIT logic in CP state machine
Per IEEE Std 802.1X-2010, Figure 12-2 (CP state machine), RECEIVING to TRANSMIT transition includes !controlledPortEnabled condition. Signed-off-by: Michael Siedzik <msiedzik@extremenetworks.com>
This commit is contained in:
parent
06e06a8df7
commit
3dce43ba5f
1 changed files with 2 additions and 1 deletions
|
@ -386,7 +386,8 @@ SM_STEP(CP)
|
|||
if (!sm->elected_self)
|
||||
SM_ENTER(CP, READY);
|
||||
if (sm->elected_self &&
|
||||
(sm->all_receiving || !sm->transmit_when))
|
||||
(sm->all_receiving || !sm->controlled_port_enabled ||
|
||||
!sm->transmit_when))
|
||||
SM_ENTER(CP, TRANSMIT);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue