diff options
author | Max <msuraev@sysmocom.de> | 2016-11-11 15:51:23 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2016-11-11 15:52:49 +0100 |
commit | 66325aee71e23e01492935b6253031bcd7233aa4 (patch) | |
tree | 3f8ce43ec1871a663f5ef16145ed6ce83ede4281 /src/osmo-bts-octphy | |
parent | bdf10eb70544855fb0425a38ac8d3232d8a5a214 (diff) |
Replace link_id constant with define
Instead of using constant for link_id directly, use shared define value.
Change-Id: Ibf3d439d8893bd994ba089796175b6c635db2cf8
Diffstat (limited to 'src/osmo-bts-octphy')
-rw-r--r-- | src/osmo-bts-octphy/l1_if.c | 8 |
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)); |