Commit ea9cc316 authored by Cedric Roux's avatar Cedric Roux

T: hack for enb tracer

parent 1ac0072b
...@@ -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) {
......
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