diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-30 12:58:14 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-30 13:02:08 +0800 |
commit | f2553a6c3a9c677f71fd7f123c54d80a915f7a0a (patch) | |
tree | 51d5c3b09e5f367be10225b55335ae427afae705 /openbsc/src/bsc_api.c | |
parent | 0610947f4cb0efd7f68e3e0e8df3663f0cdd64e5 (diff) |
handover: Call bsc_handover_clear from gsm0808_clear
The bsc_handover_clear will release an in-progress handover
and free the lchana and the data associated with this handover
Diffstat (limited to 'openbsc/src/bsc_api.c')
-rw-r--r-- | openbsc/src/bsc_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/bsc_api.c b/openbsc/src/bsc_api.c index 9c1d09063..856dc615c 100644 --- a/openbsc/src/bsc_api.c +++ b/openbsc/src/bsc_api.c @@ -28,6 +28,7 @@ #include <openbsc/signal.h> #include <openbsc/abis_rsl.h> #include <openbsc/chan_alloc.h> +#include <openbsc/handover.h> #include <osmocore/talloc.h> @@ -115,6 +116,8 @@ int gsm0808_clear(struct gsm_subscriber_connection* conn) { struct gsm_lchan *lchan; + bsc_clear_handover(conn); + lchan = conn->lchan; subscr_con_free(conn); lchan_release(lchan, 1, 0); |