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
This commit is contained in:
Jacob Erlbeck
2014-08-04 17:13:17 +02:00
parent 3fa26448d1
commit d8a7e22709

View File

@@ -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,