aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gprs/gb_proxy_tlli.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-22 13:30:46 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-10-09 17:56:16 +0200
commitd211d1d999586e10c0e1949862536d378f4fecf7 (patch)
tree4cccd05a5831c2005d2599d4bd77e77c90de6dac /openbsc/src/gprs/gb_proxy_tlli.c
parent9c65c8116fac1c99ba6eeb380e2cced26fbb5052 (diff)
gbproxy: Reset IMSI acquisition within gbproxy_unregister_link_info
Currently then link_info is not cleaned up completely, when gbproxy_unregister_link_info is called. This patch adds a function gbproxy_reset_link that must be defined externally. This is done in gb_proxy.c, where it resets the IMSI acquisition. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/gprs/gb_proxy_tlli.c')
-rw-r--r--openbsc/src/gprs/gb_proxy_tlli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gb_proxy_tlli.c b/openbsc/src/gprs/gb_proxy_tlli.c
index fdb1509f8..fae05edf8 100644
--- a/openbsc/src/gprs/gb_proxy_tlli.c
+++ b/openbsc/src/gprs/gb_proxy_tlli.c
@@ -367,6 +367,8 @@ static void gbproxy_unregister_link_info(struct gbproxy_peer *peer,
link_info->is_deregistered = 1;
+ gbproxy_reset_link(link_info);
+
return;
}