aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Santos <jrsantos@jonathanrsantos.com>2011-06-10 15:38:49 -0400
committerJonathan Santos <jrsantos@jonathanrsantos.com>2011-06-23 15:30:31 -0400
commitac9341c9c351e952c0650ad820aaecdf174f13be (patch)
tree23dba19365aa4daf9598bd7a87bfa5dd52f39387
parenteb2730e646aa5f38614c8a145088445f0cd67eca (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--src/gprs/gprs_llc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs/gprs_llc.c b/src/gprs/gprs_llc.c
index 7991f4c1e..bc80440a0 100644
--- a/src/gprs/gprs_llc.c
+++ b/src/gprs/gprs_llc.c
@@ -340,7 +340,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];
}