aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-27 23:34:20 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-27 23:34:20 +0200
commit656c8236a5ccf3f8dfb77785b9e4a8735404031e (patch)
tree6b4fad7d56d47bfb91164208f64b0ce95723bb6c
parentd9f981cf5681eb925c87ea86f4f38f90ce8bcc9f (diff)
l1_if: We do not need to supply any SAPI on L1->L2 primitives
-rw-r--r--src/osmo-bts-sysmo/l1_if.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 8f4b80f6..c01919fe 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -363,7 +363,6 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1, GsmL1_PhDataInd_t *data_i
struct gsm_lchan *lchan;
struct lapdm_entity *le;
struct msgb *msg;
-#warning Properly determine the SAPI here
uint8_t lapdm_sapi = 0;
if (data_ind->measParam.fLinkQuality < MIN_QUAL_NORM)
@@ -391,7 +390,7 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1, GsmL1_PhDataInd_t *data_i
/* FIXME: LAPDm shouldn't really need those... */
pp.u.data.chan_nr = gsm_lchan2chan_nr(lchan);
- pp.u.data.link_id = gen_link_id(data_ind->sapi, lapdm_sapi);
+ pp.u.data.link_id = gen_link_id(data_ind->sapi, 0);
return lapdm_phsap_up(&pp.oph, le);
}