aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-30 12:40:10 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-30 12:59:20 +0800
commite071ab70e97831a7efdb7351497f6da2f95efc94 (patch)
tree72bb24d476bec981fe9ed8a91e4b798885c169c1 /openbsc/include/openbsc/gsm_data.h
parentd06516557a8982c645b4d0f5a76dd806f1ddd76d (diff)
handover: Attempt to use the same gsm_subscriber_conn for new/old channel
The transaction should not know on which lchan we are operating as this can change due handover. Add untested code to share the subscriber connection of the new and old lchan and move the pointer in case of success/failure. Also on a clear command we will free any resources allocated... This code is not tested and needs to be debugged, but it should have the right structure. I am going to fix a potential memleak in the next commit.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 491cca12a..e03ad3a78 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -231,6 +231,7 @@ struct gsm_subscriber_connection {
/* back pointers */
int in_release;
struct gsm_lchan *lchan;
+ struct gsm_lchan *ho_lchan;
struct gsm_bts *bts;
};