Commit fe9ab65d authored by thomasl's avatar thomasl

fix little bugs after merge with 0.3

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7133 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 79f549da
...@@ -16,7 +16,7 @@ test_compile() { ...@@ -16,7 +16,7 @@ test_compile() {
make -j4 $2 make -j4 $2
} > $tdir/log/$1.txt 2>&1 } > $tdir/log/$1.txt 2>&1
if [ -s $3 ] ; then if [ -s $3 ] ; then
cp $3 $tdir/bin/$3.$1 cp $3 $tdir/bin/`basename $3`.$1
echo_success "$1 test compiled" echo_success "$1 test compiled"
else else
echo_error "$1 test compilation failed" echo_error "$1 test compilation failed"
......
...@@ -1275,7 +1275,7 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime) ...@@ -1275,7 +1275,7 @@ void update_otg_eNB(module_id_t enb_module_idP, unsigned int ctime)
for_times += 1; for_times += 1;
// generate traffic if the ue is rrc reconfigured state // 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; if_times += 1;
for (app_id=0; app_id<MAX_NUM_APPLICATION; app_id++) { 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) ...@@ -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++) { for (dst_id=0; dst_id<NB_SIG_CNX_UE; dst_id++) {
// only consider the first attached eNB // 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)); Packet_otg_elt_t *otg_pkt = malloc (sizeof(Packet_otg_elt_t));
if (otg_pkt!=NULL) if (otg_pkt!=NULL)
......
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