port: update timeout after changing logMinDelayReqInterval.
When the minimum delay request interval is changed after processing a delay response, update the current timeout to immediately follow the new interval. Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
This commit is contained in:
parent
bd5f3d09e7
commit
16e9abceee
1
port.c
1
port.c
@ -1723,6 +1723,7 @@ static void process_delay_resp(struct port *p, struct ptp_message *m)
|
||||
p->logMinDelayReqInterval = rsp->hdr.logMessageInterval;
|
||||
pr_notice("port %hu: minimum delay request interval 2^%d",
|
||||
portnum(p), p->logMinDelayReqInterval);
|
||||
port_set_delay_tmo(p);
|
||||
}
|
||||
|
||||
static void process_follow_up(struct port *p, struct ptp_message *m)
|
||||
|
Loading…
x
Reference in New Issue
Block a user