On Fri, Sep 01, 2017 at 01:41:41PM +0200, Miroslav Lichvar wrote:
> When the master clock changed its state and then changed it back to the
> original state before phc2sys could process the first change, e.g. SLAVE
> -> UNCALIBRATED -> SLAVE after a clockcheck failure, the second change
> was ignored because the new value was the same as the original state,
> which wasn't updated for the first change yet. This caused phc2sys to be
> stuck with a wrong state.
> 
> Fix phc2sys to check both the state and new_state variables of the clock.
> 
> Signed-off-by: Miroslav Lichvar <[email protected]>
> ---
>  phc2sys.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied.

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to