diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-21 13:30:17 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-21 13:41:33 +0100 |
commit | 2391b4c474052c086924b6e0eb6111017d7f836f (patch) | |
tree | 5446bc5dada2ff466e195c840a54d461a8297361 /openbsc/src/handover_logic.c | |
parent | 90cdd28e6f482dac3c3307c23187b2b6f1e4999c (diff) |
ho: On ho failure clear the subscriber connection
Forget about the ho_lchan inside the gsm_subscriber_connection
in case of a handover failure, also clear the gsm_subscriber_connection
pointer before the lchan is passed to the lchan_free routine.
Diffstat (limited to 'openbsc/src/handover_logic.c')
-rw-r--r-- | openbsc/src/handover_logic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/handover_logic.c b/openbsc/src/handover_logic.c index 511742eb2..bc9d68e88 100644 --- a/openbsc/src/handover_logic.c +++ b/openbsc/src/handover_logic.c @@ -232,6 +232,8 @@ static int ho_chan_activ_nack(struct gsm_lchan *new_lchan) return -ENODEV; } + new_lchan->conn->ho_lchan = NULL; + new_lchan->conn = NULL; llist_del(&ho->list); talloc_free(ho); |