aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-octphy
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-octphy')
-rw-r--r--src/osmo-bts-octphy/l1_if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osmo-bts-octphy/l1_if.c b/src/osmo-bts-octphy/l1_if.c
index c4105ac6..0fc51fcc 100644
--- a/src/osmo-bts-octphy/l1_if.c
+++ b/src/osmo-bts-octphy/l1_if.c
@@ -862,9 +862,9 @@ static int handle_ph_readytosend_ind(struct octphy_hdl *fl1,
chan_nr = chan_nr_by_sapi(trx->ts[ts_num].pchan, sapi, sc, ts_num, fn);
if (chan_nr) {
if (sapi == cOCTVC1_GSM_SAPI_ENUM_SACCH)
- link_id = 0x40;
+ link_id = LID_SACCH;
else
- link_id = 0;
+ link_id = LID_DEDIC;
rc = msgb_trim(l1p_msg, sizeof(*l1sap));
if (rc < 0)
@@ -985,9 +985,9 @@ static int handle_ph_data_ind(struct octphy_hdl *fl1,
}
if (sapi == cOCTVC1_GSM_SAPI_ENUM_SACCH)
- link_id = 0x40;
+ link_id = LID_SACCH;
else
- link_id = 0;
+ link_id = LID_DEDIC;
memset(&l1sap, 0, sizeof(l1sap));