diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-09-11 14:57:03 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2014-09-18 11:22:15 +0200 |
commit | 2fd1ba4c6d17e9b7fef80a39a951674c541d1cf7 (patch) | |
tree | 113d40e37d70788adc4493b0d70376d5e7317e2c /openbsc/src/gprs/gb_proxy.c | |
parent | 6bafa4ce0ddb9e4c97497452f521df5a8cdf703c (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 && |