---
src/osmo-bts-sysmo/l1_if.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index d4861e2..03e8a56 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -599,6 +599,7 @@ static uint8_t chan_nr_by_sapi(enum gsm_phys_chan_config
pchan,
return 0;
}
+ /* not reached due to default case above */
return (cbits << 3) | u8Tn;
}
@@ -1029,10 +1030,13 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1,
GsmL1_PhDataInd_t *data_i
}
if (!chan_nr) {
+ /* message was handled by old code, not by L1SAP */
msgb_free(l1p_msg);
return rc;
}
+ /* if we proceed to this point, the message has to be handled via L1SAP
*/
+
/* get data pointer and length */
data = data_ind->msgUnitParam.u8Buffer;
len = data_ind->msgUnitParam.u8Size;
--
2.1.0- Final review of L1SAP ported to current maste Harald Welte
- [PATCH 01/33] sysmo-bts: Use correct boundaries of L1 ms... Harald Welte
- [PATCH 15/33] l1sap: additional comments explaining l1sa... Harald Welte
- [PATCH 14/33] Add PDCH messages to PH-/MPH-/TCH-SAP inte... Harald Welte
- [PATCH 12/33] Add PCH/AGCH message to PH-/MPH-/TCH-SAP i... Harald Welte
- [PATCH 05/33] Add RACH message to PH-/MPH-/TCH-SAP inter... Harald Welte
- [PATCH 10/33] l1sap: correctly set chan_nr on PRIM_PH_RA... Harald Welte
- [PATCH 11/33] l1sap: sysmobts: remove obsolete get_lapdm... Harald Welte
- [PATCH 20/33] l1sap: re-introduce a comment that was los... Harald Welte
- [PATCH 21/33] Add TCH messages to PH-/MPH-/TCH-SAP inter... Harald Welte
- [PATCH 31/33] Add gsmtap option to command line to main.... Harald Welte
- [PATCH 22/33] l1sap: Use {data, empty}_req_from_l1sap() ... Harald Welte
- [PATCH 29/33] Send primitives at PH-/MPH-/TCH-SAP interf... Harald Welte
