aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Santos <jrsantos@jonathanrsantos.com>2011-06-10 15:38:49 -0400
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-10-16 17:50:38 +0200
commit980dbd6bebd22a01e2114722edb103eaabe125c9 (patch)
treec10b145286c8b15352999b53ee9bbea1cf6578cf
parentdd81e97403327f47d61ffaa172f723d739ef779d (diff)
gprs: Fix bug where SGSN was sending all LLC UI frames with N(U)=0
Convert foreign TLLIs to local TLLIs for storage in LLME context.
-rw-r--r--openbsc/src/gprs/gprs_llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c
index 3d4e98688..967a94020 100644
--- a/openbsc/src/gprs/gprs_llc.c
+++ b/openbsc/src/gprs/gprs_llc.c
@@ -341,7 +341,7 @@ int gprs_llc_tx_ui(struct msgb *msg, uint8_t sapi, int command,
struct gprs_llc_llme *llme;
LOGP(DLLC, LOGL_ERROR, "LLC TX: unknown TLLI 0x%08x, "
"creating LLME on the fly\n", msgb_tlli(msg));
- llme = llme_alloc(msgb_tlli(msg));
+ llme = llme_alloc(tlli_foreign2local(msgb_tlli(msg)));
lle = &llme->lle[sapi];
}