aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy_vty.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-11 11:35:17 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-18 11:21:57 +0200
commit6bafa4ce0ddb9e4c97497452f521df5a8cdf703c (patch)
tree5309f2069845ba826437d421b7624d0f17174ba0 /openbsc/src/gprs/gb_proxy_vty.c
parent0b243a106a45c1b47a1e389eda98e025b6950214 (diff)
gbproxy: Rework gbproxy_imsi_acquisition
This commit changes gbproxy_imsi_acquisition as follows: tlli_info->mi_data_len is used instead of parse_ctx->imsi to check, whether the IMSI is known already. Since the function is always called after gbproxy_update_tlli_ul(), the two values are already synchronized. Messages are always flushed when the IMSI gets known, if the current message is IDENT RESP discard it, otherwise continue processing as usual. The 'if' clauses are simplified for better readability. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_vty.c')
0 files changed, 0 insertions, 0 deletions