Commit 4ea3d1cb authored by winckel's avatar winckel

Fixed build issue for EURECOM-NAS

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4807 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 16f664ee
...@@ -210,7 +210,7 @@ int lowerlayer_data_ind(unsigned int ueid, const OctetString *data) ...@@ -210,7 +210,7 @@ int lowerlayer_data_ind(unsigned int ueid, const OctetString *data)
LOG_FUNC_IN; LOG_FUNC_IN;
#if defined(NAS_MME) #if defined(EPC_BUILD) && defined(NAS_MME)
if (ueid > 0) { if (ueid > 0) {
emm_ctx = emm_data_context_get(&_emm_data, ueid); emm_ctx = emm_data_context_get(&_emm_data, ueid);
} }
......
...@@ -177,9 +177,7 @@ int esm_ebr_assign(emm_data_context_t *ctx, int ebi) ...@@ -177,9 +177,7 @@ int esm_ebr_assign(emm_data_context_t *ctx, int ebi)
{ {
esm_ebr_context_t *ebr_ctx; esm_ebr_context_t *ebr_ctx;
#ifdef NAS_UE
unsigned int ueid = 0; unsigned int ueid = 0;
#endif
int i; int i;
......
...@@ -88,6 +88,8 @@ int esm_ebr_context_create( ...@@ -88,6 +88,8 @@ int esm_ebr_context_create(
esm_data_context_t *esm_ctx; esm_data_context_t *esm_ctx;
esm_pdn_t *pdn = NULL; esm_pdn_t *pdn = NULL;
unsigned int ueid = 0;
LOG_FUNC_IN; LOG_FUNC_IN;
#ifdef NAS_UE #ifdef NAS_UE
...@@ -227,6 +229,8 @@ int esm_ebr_context_release( ...@@ -227,6 +229,8 @@ int esm_ebr_context_release(
esm_pdn_t *pdn = NULL; esm_pdn_t *pdn = NULL;
esm_data_context_t *esm_ctx; esm_data_context_t *esm_ctx;
unsigned int ueid = 0;
LOG_FUNC_IN; LOG_FUNC_IN;
#ifdef NAS_UE #ifdef NAS_UE
......
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