Commit 453e94d4 authored by Robert Schmidt's avatar Robert Schmidt

Remove check_xran_ptp_sync(): it does not work reliably

parent 5ee4b081
......@@ -279,15 +279,6 @@ void *get_internal_parameter(char *name)
return NULL;
}
static void check_xran_ptp_sync()
{
int res;
if ((res = xran_is_synchronized()) != 0)
printf("Machine is not synchronized using PTP (%x)!\n", res);
else
printf("Machine is synchronized using PTP!\n");
}
__attribute__((__visibility__("default")))
int transport_init(openair0_device *device,
openair0_config_t *openair0_cfg,
......@@ -331,9 +322,6 @@ int transport_init(openair0_device *device,
printf("ORAN: %s\n", __FUNCTION__);
// Check if the machine is PTP sync
check_xran_ptp_sync();
initNotifiedFIFO(&oran_sync_fifo);
eth->oran_priv = oai_oran_initialize(openair0_cfg);
AssertFatal(eth->oran_priv != NULL, "can not initialize fronthaul");
......
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