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
parent
85a1bcfa8e
commit
a0171b035e
2
port.c
2
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;
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue