diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-09-01 09:19:45 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-09-22 16:39:03 +0200 |
commit | 793e713c4bcf0929c2656760acb42e875f743da9 (patch) | |
tree | 8df08612c8518368418ebbbd76d5a25685a2b1a6 /src/common/handover.c | |
parent | faba84b9b7c035691fd831ad26871a63417d22d0 (diff) |
Move chan act/rel/modify from bts_model to PH-/MPH-/TCH-SAP interface
This part replaces channel activation/deactivation/modification routines
by MPH_INFO messages.
Diffstat (limited to 'src/common/handover.c')
-rw-r--r-- | src/common/handover.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/handover.c b/src/common/handover.c index 26a3f51a..03433ea5 100644 --- a/src/common/handover.c +++ b/src/common/handover.c @@ -33,6 +33,7 @@ #include <osmo-bts/rsl.h> #include <osmo-bts/logging.h> #include <osmo-bts/handover.h> +#include <osmo-bts/l1sap.h> /* Transmit a handover related PHYS INFO on given lchan */ static int ho_tx_phys_info(struct gsm_lchan *lchan) @@ -114,7 +115,7 @@ void handover_rach(struct gsm_lchan *lchan, uint8_t ra, uint8_t acc_delay) /* Stop handover detection, wait for valid frame */ lchan->ho.active = HANDOVER_WAIT_FRAME; - if (bts_model_rsl_chan_mod(lchan) != 0) { + if (l1sap_chan_modify(lchan->ts->trx, gsm_lchan2chan_nr(lchan)) != 0) { LOGP(DHO, LOGL_ERROR, "%s failed to modify channel after handover\n", gsm_lchan_name(lchan)); |