diff --git a/subsys/net/l2/ethernet/gptp/gptp_mi.c b/subsys/net/l2/ethernet/gptp/gptp_mi.c index f5d4fe91a04..35b131c06c6 100644 --- a/subsys/net/l2/ethernet/gptp/gptp_mi.c +++ b/subsys/net/l2/ethernet/gptp/gptp_mi.c @@ -407,7 +407,8 @@ static void start_rcv_sync_timer(struct gptp_port_ds *port_ds, { k_timeout_t duration; - duration = K_MSEC(port_ds->sync_receipt_timeout_time_itv); + duration = K_MSEC(port_ds->sync_receipt_timeout_time_itv / + (NSEC_PER_USEC * USEC_PER_MSEC)); k_timer_start(&state->rcv_sync_receipt_timeout_timer, duration, K_NO_WAIT);