summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte2011-06-24 00:04:50 +0200
committerHarald Welte2011-06-24 00:04:50 +0200
commit88f5d463d22e1f4954c44c5391706e25fda77969 (patch)
treeff3f49b547d68c286d536f273d5fcd9c91202cda /src
parentlapdm: remove dependency to osmocom_data.h (diff)
downloadosmocom-88f5d463d22e1f4954c44c5391706e25fda77969.tar.gz
osmocom-88f5d463d22e1f4954c44c5391706e25fda77969.tar.xz
osmocom-88f5d463d22e1f4954c44c5391706e25fda77969.zip
fix some spillage from recent conversion
Diffstat (limited to 'src')
-rw-r--r--src/host/layer23/src/misc/app_cbch_sniff.c2
-rw-r--r--src/host/layer23/src/misc/rslms.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/host/layer23/src/misc/app_cbch_sniff.c b/src/host/layer23/src/misc/app_cbch_sniff.c
index f10b30f..4a4c918 100644
--- a/src/host/layer23/src/misc/app_cbch_sniff.c
+++ b/src/host/layer23/src/misc/app_cbch_sniff.c
@@ -182,7 +182,7 @@ int l23_app_init(struct osmocom_ms *ms)
/* don't do layer3_init() as we don't want an actualy L3 */
g_ms = ms;
- lapdm_channel_set_l1(&ms->lapdm_channel, &rcv_rsl, ms);
+ lapdm_channel_set_l3(&ms->lapdm_channel, &rcv_rsl, ms);
l1ctl_tx_reset_req(ms, L1CTL_RES_T_FULL);
/* FIXME: L1CTL_RES_T_FULL doesn't reset dedicated mode
diff --git a/src/host/layer23/src/misc/rslms.c b/src/host/layer23/src/misc/rslms.c
index 642840c..68956f9 100644
--- a/src/host/layer23/src/misc/rslms.c
+++ b/src/host/layer23/src/misc/rslms.c
@@ -121,8 +121,9 @@ static int rslms_rx_rll(struct msgb *msg, struct osmocom_ms *ms)
}
/* input function that L2 calls when sending messages up to L3 */
-static int layer3_from_layer2(struct msgb *msg, struct osmocom_ms *ms)
+static int layer3_from_layer2(struct msgb *msg, struct lapdm_entity *le, void *ctx)
{
+ struct osmocom_ms *ms = ctx;
struct abis_rsl_common_hdr *rslh = msgb_l2(msg);
int rc = 0;