diff --git a/cmake_targets/autotests/run_compilation_autotests.bash b/cmake_targets/autotests/run_compilation_autotests.bash index 5f3dc600eb448b6b64ee843179deaf490ebf56c6..c54ba1e778dfba04ade0e2599b2a3c9715a73be6 100755 --- a/cmake_targets/autotests/run_compilation_autotests.bash +++ b/cmake_targets/autotests/run_compilation_autotests.bash @@ -16,7 +16,7 @@ test_compile() { make -j4 $2 } > $tdir/log/$1.txt 2>&1 if [ -s $3 ] ; then - cp $3 $tdir/bin/$3.$1 + cp $3 $tdir/bin/`basename $3`.$1 echo_success "$1 test compiled" else echo_error "$1 test compilation failed" diff --git a/targets/SIMU/USER/oaisim_functions.c b/targets/SIMU/USER/oaisim_functions.c index 3e88d66cedf27ac025ec6a815610cdc4d2611291..0bc1cab0a307f5ba847213b71653cb81cae5563b 100644 --- a/targets/SIMU/USER/oaisim_functions.c +++ b/targets/SIMU/USER/oaisim_functions.c @@ -1275,7 +1275,7 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime) for_times += 1; // generate traffic if the ue is rrc reconfigured state - if (mac_get_rrc_status(enb_module_idP, ENB_FLAG_YES, dst_id) > 2 /*RRC_CONNECTED*/ ) { + if (mac_eNB_get_rrc_status(enb_module_idP, dst_id) > 2 /*RRC_CONNECTED*/ ) { if_times += 1; for (app_id=0; app_id<MAX_NUM_APPLICATION; app_id++) { @@ -1415,7 +1415,7 @@ void update_otg_UE(module_id_t ue_mod_idP, unsigned int ctime) for (dst_id=0; dst_id<NB_SIG_CNX_UE; dst_id++) { // only consider the first attached eNB - if (mac_get_rrc_status(ue_mod_idP, 0, dst_id ) > 2 /*RRC_CONNECTED*/) { + if (mac_UE_get_rrc_status(ue_mod_idP, dst_id ) > 2 /*RRC_CONNECTED*/) { Packet_otg_elt_t *otg_pkt = malloc (sizeof(Packet_otg_elt_t)); if (otg_pkt!=NULL)