Commit 96260e83 authored by winckel's avatar winckel

Disable NAS auto start option.

Deactivate NAS message buffer itti_free code, buffer does not seems to be allocated by itti_malloc!

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4921 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 003fb689
......@@ -39,7 +39,7 @@
# include "nas_parser.h"
# include "nas_proc.h"
# define NAS_UE_AUTOSTART 1
# define NAS_UE_AUTOSTART 0
extern unsigned char NB_eNB_INST;
extern unsigned char NB_UE_INST;
......@@ -171,8 +171,8 @@ void *nas_ue_task(void *args_p) {
nas_proc_establish_cnf(NAS_CONN_ESTABLI_CNF (msg_p).nasMsg.data, NAS_CONN_ESTABLI_CNF (msg_p).nasMsg.length);
/* TODO checks if NAS will free the nas message, better to do it there anyway! */
result = itti_free (ITTI_MSG_ORIGIN_ID(msg_p), NAS_CONN_ESTABLI_CNF(msg_p).nasMsg.data);
AssertFatal (result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
// result = itti_free (ITTI_MSG_ORIGIN_ID(msg_p), NAS_CONN_ESTABLI_CNF(msg_p).nasMsg.data);
// AssertFatal (result == EXIT_SUCCESS, "Failed to free memory (%d)!\n", result);
}
break;
......
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