From d211d1d999586e10c0e1949862536d378f4fecf7 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 22 Sep 2014 13:30:46 +0200 Subject: 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 --- openbsc/src/gprs/gb_proxy_tlli.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/gprs/gb_proxy_tlli.c') 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; } -- cgit v1.2.3