summaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-11 14:57:03 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-18 11:22:15 +0200
commit2fd1ba4c6d17e9b7fef80a39a951674c541d1cf7 (patch)
tree113d40e37d70788adc4493b0d70376d5e7317e2c /openbsc/src/gprs/gb_proxy.c
parent6bafa4ce0ddb9e4c97497452f521df5a8cdf703c (diff)
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
Diffstat (limited to 'openbsc/src/gprs/gb_proxy.c')
-rw-r--r--openbsc/src/gprs/gb_proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gb_proxy.c b/openbsc/src/gprs/gb_proxy.c
index dfaa380..2dfb4d8 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 &&