Skip to content
Commit b3505fba authored by Tomas Choat's avatar Tomas Choat Committed by Benjamin Cabé
Browse files

net: lib: ptp: Fix bidir time adjustment



When the offset is larger than 1 second, the time
adjustment should still be allowed to be bidirectional.
Casting the offset to an unsigned value after the
subtraction will allow the adjustment to be bidirectional.

Signed-off-by: default avatarTomas Choat <trc@ixys.no>
parent ecfc4446
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment