aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-04-04 14:11:33 +0200
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:39:05 +0200
commitf449842053d333f6f9f41d3123262e8e05375acb (patch)
tree36abac437062c1b5a8c4747a78e11f897976dab4 /src/common/l1sap.c
parent9cfbf27d4c2b08bec64141c447c59645488bd722 (diff)
Move detection of handover frames from sysmo-bts code to common code
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index b9b63287..ca785fe4 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -762,6 +762,10 @@ static int l1sap_ph_data_ind(struct gsm_bts_trx *trx,
return -EINVAL;
}
+ /* report first valid received frame to handover process */
+ if (lchan->ho.active == HANDOVER_WAIT_FRAME)
+ handover_frame(lchan);
+
if (L1SAP_IS_LINK_SACCH(link_id)) {
radio_link_timeout(lchan, 0);
le = &lchan->lapdm_ch.lapdm_acch;