path: root/openbsc/src/libbsc/handover_logic.c
diff options
authorAndreas Eversberg <jolly@eversberg.eu>2013-10-11 12:55:35 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 08:59:16 +0200
commit723a751e5f9867878167b2958dcbebe930b30da0 (patch)
tree5d65e64ba77567466a220ed0a6f236c191349620 /openbsc/src/libbsc/handover_logic.c
parent1011d5b50572ba2a90d7115247c6b9548be13545 (diff)
dyn PDCH: Cleanup of rsl_chan_activate_lchan() and users
Timing advance is stored inside lchan structure, so it is removed from arguments. This is useful, if other actions are required prior calling rsl_chan_activate_lchan. (like deactivating PDCH first) The "shifted TA value" that is required by BS11 is now calculated inside rsl_chan_activate_lchan and not by each user. [Rebased by Holger. So some hunks were skipped as the patch depended on Jolly's HO code]
Diffstat (limited to 'openbsc/src/libbsc/handover_logic.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/libbsc/handover_logic.c b/openbsc/src/libbsc/handover_logic.c
index 36a758be6..22f9883fd 100644
--- a/openbsc/src/libbsc/handover_logic.c
+++ b/openbsc/src/libbsc/handover_logic.c
@@ -131,8 +131,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts)
new_lchan->conn->ho_lchan = new_lchan;
/* FIXME: do we have a better idea of the timing advance? */
- rc = rsl_chan_activate_lchan(new_lchan, RSL_ACT_INTER_ASYNC, 0,
- ho->ho_ref);
+ rc = rsl_chan_activate_lchan(new_lchan, RSL_ACT_INTER_ASYNC, ho->ho_ref);
if (rc < 0) {
LOGP(DHO, LOGL_ERROR, "could not activate channel\n");
new_lchan->conn->ho_lchan = NULL;