diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-24 00:04:50 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-24 00:04:50 +0200 |
commit | 88f5d463d22e1f4954c44c5391706e25fda77969 (patch) | |
tree | ff3f49b547d68c286d536f273d5fcd9c91202cda /src/host/layer23/src/misc | |
parent | 3008f310744cf1d603f5dea96c0b7c6bf6baaed7 (diff) |
fix some spillage from recent conversion
Diffstat (limited to 'src/host/layer23/src/misc')
-rw-r--r-- | src/host/layer23/src/misc/app_cbch_sniff.c | 2 | ||||
-rw-r--r-- | src/host/layer23/src/misc/rslms.c | 3 |
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 f10b30fa..4a4c9188 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 642840c3..68956f9c 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; |