port: Correct log message interval field of unicast Sync messages.
According to the standard, this field is special for unicast messages. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
a4981b2050
commit
494643d1fb
1
port.c
1
port.c
|
@ -1418,6 +1418,7 @@ static int port_tx_sync(struct port *p, struct address *dst)
|
||||||
if (dst) {
|
if (dst) {
|
||||||
msg->address = *dst;
|
msg->address = *dst;
|
||||||
msg->header.flagField[0] |= UNICAST;
|
msg->header.flagField[0] |= UNICAST;
|
||||||
|
msg->header.logMessageInterval = 0x7f;
|
||||||
}
|
}
|
||||||
err = port_prepare_and_send(p, msg, event);
|
err = port_prepare_and_send(p, msg, event);
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in New Issue