[Linuxptp-devel] [PATCH 3/4] Set sync timeout only on port_synchronize()
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Delio B. <dbr...@au...> - 2013-11-19 13:43:45
|
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 <dbr...@au...> --- port.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/port.c b/port.c index 5604987..63b922e 100644 --- a/port.c +++ b/port.c @@ -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; }; @@ -1957,7 +1956,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; }; } -- 1.7.0.4 |