I don't understand why we would detect handover only on TRX1-n, but not on TRX0. It is perfectly valid for a handover to occur on TRX0. --- src/common/l1sap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index a4db8fb..2dedf02 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -167,7 +167,7 @@ static int l1sap_ph_rach_ind(struct gsm_bts_trx *trx, }
/* check for handover rach */ - if (trx != bts->c0 && !L1SAP_IS_CHAN_RACH(rach_ind->chan_nr)) + if (!L1SAP_IS_CHAN_RACH(rach_ind->chan_nr)) return l1sap_handover_rach(trx, l1sap, rach_ind);
/* check for packet access */