Corrected race condition where the MS/TP Master Node FSM may miss the first packet since it may not run until after the first packet has arrived if the ReceivedValidFrame flag is set to false during MSTP_MASTER_STATE_INITIALIZE. Thank you to anand!

This commit is contained in:
skarg
2007-11-16 13:27:51 +00:00
parent 9762f415ba
commit 35f2aaed00
5 changed files with 0 additions and 941 deletions
-2
View File
@@ -622,8 +622,6 @@ static bool MSTP_Master_Node_FSM(void)
/* receives the token */
TokenCount = Npoll;
MSTP_Flag.SoleMaster = false;
MSTP_Flag.ReceivedValidFrame = false;
MSTP_Flag.ReceivedInvalidFrame = false;
Master_State = MSTP_MASTER_STATE_IDLE;
transition_now = true;
break;