Commit 923296b7 authored by Joanne Hugé's avatar Joanne Hugé

Set flag enabling error report in error socket queue

parent f80a9498
......@@ -96,7 +96,7 @@ void init_udp_send(egress_param_t *_params,
if (params->use_etf) {
sk_txtime.clockid = CLOCK_TAI;
sk_txtime.flags = 0;
sk_txtime.flags = SOF_TXTIME_REPORT_ERRORS;
if (setsockopt(sock_fd, SOL_SOCKET, SO_TXTIME, &sk_txtime, sizeof(sk_txtime)))
error(EXIT_FAILURE, errno, "setsockopt SO_TXTIME failed\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment