diff mbox

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

Message ID 1409176492-13269-10-git-send-email-laforge@gnumonks.org
State Superseded
Headers show

Commit Message

Harald Welte Aug. 27, 2014, 9:54 p.m. UTC
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 mbox

Patch

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