Skip to content
Snippets Groups Projects
Commit 748a0790 authored by Cédric Roux's avatar Cédric Roux
Browse files

T: hack for enb tracer

parent df3ebacd
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,8 @@ void reset_ue_ids(void) ...@@ -36,7 +36,8 @@ void reset_ue_ids(void)
int ue_id_from_rnti(void *_priv, int rnti) int ue_id_from_rnti(void *_priv, int rnti)
{ {
rnti = 0; /* HACK, to be removed */ if (rnti < 0) rnti = 65534; /* HACK, to be removed */
if (rnti < 0 || rnti > 65535) { printf("bad rnti %d\n", rnti); exit(1); } if (rnti < 0 || rnti > 65535) { printf("bad rnti %d\n", rnti); exit(1); }
/* rnti not seen yet? give it a new ue_id */ /* rnti not seen yet? give it a new ue_id */
if (ue_id[rnti] == -1) { if (ue_id[rnti] == -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment