Set sync timeout only on port_synchronize()

Sync rx timeout should be set only after receiving the first sync, see
section 10.2.7, figure 10-4 PortSyncSyncReceive state machine in 802.1AS

Signed-off-by: Delio Brignoli <dbrignoli@audioscience.com>
master
Delio Brignoli 2013-11-19 14:42:40 +01:00 committed by Richard Cochran
parent 85a1bcfa8e
commit a0171b035e
1 changed files with 0 additions and 2 deletions

2
port.c
View File

@ -1914,7 +1914,6 @@ static void port_e2e_transition(struct port *p, enum port_state next)
/* fall through */
case PS_SLAVE:
port_set_announce_tmo(p);
port_set_sync_rx_tmo(p);
port_set_delay_tmo(p);
break;
};
@ -1956,7 +1955,6 @@ static void port_p2p_transition(struct port *p, enum port_state next)
/* fall through */
case PS_SLAVE:
port_set_announce_tmo(p);
port_set_sync_rx_tmo(p);
break;
};
}