[PATCH 09/33] l1sap: RACH: Detect hand-over even on TRX0

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Wed Aug 27 21:54:28 UTC 2014


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 */
-- 
2.1.0





More information about the OpenBSC mailing list