From 11a1dd090cc1d85946d4aa825fc077cfa7629104 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Tue, 15 May 2018 09:55:11 +0200
Subject: [PATCH] fix: hack to have the UE compile

This is a quick and dirty solution, something better is needed.
---
 openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c b/openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c
index 82dedd9bc9..6aa275acae 100644
--- a/openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c
+++ b/openair1/PHY/LTE_UE_TRANSPORT/dci_tools_ue.c
@@ -5158,3 +5158,11 @@ main()
 
 #endif
 
+/* HACK: this function is needed to compile the UE
+ * fix it somehow
+ */
+int8_t find_dlsch(uint16_t rnti, PHY_VARS_eNB *eNB,find_type_t type)
+{
+  printf("you cannot read this\n");
+  abort();
+}
-- 
2.26.2