[PATCH 07/33] l1sap: fix coding style

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:26 UTC 2014


---
 src/common/l1sap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 5cb72b6..c788a79 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -170,8 +170,7 @@ static int l1sap_ph_rach_ind(struct gsm_bts_trx *trx,
 		return l1sap_handover_rach(trx, l1sap, rach_ind);
 
 	/* check for packet access */
-	if (trx == bts->c0
-	 && L1SAP_IS_PACKET_RACH(rach_ind->ra)) {
+	if (trx == bts->c0 && L1SAP_IS_PACKET_RACH(rach_ind->ra)) {
 		LOGP(DL1P, LOGL_INFO, "RACH for packet access\n");
 		pcu_tx_rach_ind(bts, rach_ind->acc_delay << 2,
 			rach_ind->ra, rach_ind->fn);
-- 
2.1.0





More information about the OpenBSC mailing list