From 2fd1ba4c6d17e9b7fef80a39a951674c541d1cf7 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Thu, 11 Sep 2014 14:57:03 +0200 Subject: gbproxy: Replace 'mi_data' by 'imsi' Since at all places where mi_data/mi_data_len is used it will always contain an IMSI. Thus the names of the identifiers have been updated accordingly for clarity. Sponsored-by: On-Waves ehf --- openbsc/src/gprs/gb_proxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/gprs/gb_proxy.c') diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c index dfaa38080..2dfb4d82c 100644 --- a/openbsc/src/gprs/gb_proxy.c +++ b/openbsc/src/gprs/gb_proxy.c @@ -362,7 +362,7 @@ static int gbproxy_imsi_acquisition(struct gbproxy_peer *peer, if (!tlli_info) return 1; - if (!tlli_info->imsi_acq_pending && tlli_info->mi_data_len > 0) + if (!tlli_info->imsi_acq_pending && tlli_info->imsi_len > 0) return 1; if (parse_ctx->g48_hdr && @@ -376,7 +376,7 @@ static int gbproxy_imsi_acquisition(struct gbproxy_peer *peer, } } - if (tlli_info->imsi_acq_pending && tlli_info->mi_data_len > 0) { + if (tlli_info->imsi_acq_pending && tlli_info->imsi_len > 0) { int is_ident_resp = parse_ctx->g48_hdr && parse_ctx->g48_hdr->proto_discr == GSM48_PDISC_MM_GPRS && -- cgit v1.2.3