summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-10-16 20:32:11 +0200
committerHarald Welte <laforge@gnumonks.org>2011-10-16 21:36:28 +0200
commit27bcaefaa36c72475218a2f330becc5c758688e4 (patch)
tree87600b9832cd1d914c3795ba79d9259f582adba1
parent540d4f9adb20ad3baeb1d04b17b7cc80ddf97b0a (diff)
GRPS LLC: Fix TLLI change: Use caller-supplied old_tlli!laforge/santos
-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 322679d..60b6af9 100644
--- a/openbsc/src/gprs/gprs_llc.c
+++ b/openbsc/src/gprs/gprs_llc.c
@@ -875,7 +875,7 @@ int gprs_llgmm_assign(struct gprs_llc_llme *llme,
/* TLLI Change 8.3.2 */
/* Both TLLI Old and TLLI New are assigned; use New when
* (re)transmitting. Accept toth Old and New on Rx */
- llme->old_tlli = llme->tlli;
+ llme->old_tlli = old_tlli;
llme->tlli = new_tlli;
llme->state = GPRS_LLMS_ASSIGNED;
} else if (old_tlli != 0xffffffff && new_tlli == 0xffffffff) {