• Grzegorz Daniluk's avatar
    state-master: don't send f-up if sync stamp is wrong · 79ffd673
    Grzegorz Daniluk authored
    This is bsased on Greg's original commit, which is in wrs-4.1.2-fixes,
    that we developed and released in the wr-switch-sw maintainance for the
    4.1 series.
    
    What we do here is return error for sending if the timestamp is not
    correctly retrieved; the error is already handled in the sync+f.up
    pair, so this is enough for f.up to not be sent.
    
    The commit also changes state-master, in that we need to restart the
    timeout for sync (and annunce) even if one even of sync (announce,
    resp) fails.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    79ffd673
Name
Last commit
Last update
..
Makefile Loading commit data...
arith.c Loading commit data...
bmc.c Loading commit data...
common-fun.c Loading commit data...
common-fun.h Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
msg.c Loading commit data...
open-close.c Loading commit data...
servo.c Loading commit data...
state-disabled.c Loading commit data...
state-faulty.c Loading commit data...
state-initializing.c Loading commit data...
state-listening.c Loading commit data...
state-master.c Loading commit data...
state-passive.c Loading commit data...
state-pre-master.c Loading commit data...
state-slave.c Loading commit data...
state-uncalibrated.c Loading commit data...
timeout.c Loading commit data...