aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-04 17:13:17 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-04 17:13:17 +0200
commitd8a7e22709607abb61d79f214e0b5f5f440d9a48 (patch)
tree73f8fb2ad5f809ecd665b386e25fe22ff3d0805e /openbsc/src/gprs
parent3fa26448d160bf153ec3f35843dbe3aa728c39fb (diff)
gbproxy: Remove broken TLLI comparison
This comparison bit-ored the TLLI with 0xc000 instead of 0xc000000. Since this has never worked properly yet and since normalizing to local TLLIs doesn't seem sensible here, the comparison is removed entirely. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs')
-rw-r--r--openbsc/src/gprs/gb_proxy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index 277038809..72014b1a6 100644
--- a/openbsc/src/gprs/gb_proxy.c
+++ b/openbsc/src/gprs/gb_proxy.c
@@ -1140,7 +1140,6 @@ static void gbprox_patch_llc(struct msgb *msg, uint8_t *llc, size_t llc_len,
rc = gbprox_patch_dtap(msg, data, data_len, peer, len_change, parse_ctx);
if (parse_ctx->new_ptmsi &&
- (parse_ctx->new_ptmsi | 0xc000) != (tlli | 0xc000) &&
peer->cfg->core_apn && parse_ctx->to_bss && parse_ctx->imsi) {
/* A new TLLI (PTMSI) has been signaled in the message */
LOGP(DGPRS, LOGL_INFO,