From f9aac56e8476331af01a39b54b9a8f20c7c4edbc Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Tue, 15 May 2018 17:43:35 +0200 Subject: [PATCH] fix: let ue_ip.ko compile MAX_MOBILES_PER_ENB cannot be used to compile ue_ip because it is defined in platform_constants.h and this cannot be included to compile a kernel module. Let's use NUMBER_OF_UE_MAX as it was before instead. --- openair2/NETWORK_DRIVER/UE_IP/constant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/NETWORK_DRIVER/UE_IP/constant.h b/openair2/NETWORK_DRIVER/UE_IP/constant.h index 0746651d07..ccd992dd4e 100644 --- a/openair2/NETWORK_DRIVER/UE_IP/constant.h +++ b/openair2/NETWORK_DRIVER/UE_IP/constant.h @@ -52,7 +52,7 @@ -#define UE_IP_NB_INSTANCES_MAX MAX_MOBILES_PER_ENB +#define UE_IP_NB_INSTANCES_MAX NUMBER_OF_UE_MAX /*MAX_MOBILES_PER_ENB*/ #endif -- GitLab