aboutsummaryrefslogtreecommitdiffstats
path: root/src/abis_rsl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-12-26 10:20:07 +0000
committerHarald Welte <laforge@gnumonks.org>2008-12-26 10:20:07 +0000
commitad38464728cf1503258288ee9d64600c8adf38ba (patch)
tree742ed21134377c5175a6aeb49acf08688038ad95 /src/abis_rsl.c
parent3633a6daf9b95c868512b963575c42290bfaa4b5 (diff)
this is the first version that actually talks to the BTS
* initialize OML and RSL based on TEI establish (ACTIVATE_IND) events * fix abis_nm_raw_msg() to not overwrite the OML header with payload * fix debug print statements * fix msgb_dequeue: actually dequeue it from the list ;)
Diffstat (limited to 'src/abis_rsl.c')
-rw-r--r--src/abis_rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/abis_rsl.c b/src/abis_rsl.c
index ad90dea90..257b118b2 100644
--- a/src/abis_rsl.c
+++ b/src/abis_rsl.c
@@ -618,13 +618,13 @@ static int abis_rsl_rx_rll(struct msgb *msg)
case RSL_MT_DATA_IND:
DEBUGP(DRLL, "DATA INDICATION\n");
/* FIXME: Verify L3 info element */
- msg->l3_off = &rllh->data[2] - msg->data;
+ msg->l3h = &rllh->data[2];
rc = gsm0408_rcvmsg(msg);
break;
case RSL_MT_EST_IND:
DEBUGP(DRLL, "ESTABLISH INDICATION\n");
/* FIXME: Verify L3 info element */
- msg->l3_off = &rllh->data[2] - msg->data;
+ msg->l3h = &rllh->data[2];
rc = gsm0408_rcvmsg(msg);
break;
case RSL_MT_ERROR_IND: