projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
further decouple lapdm code from osmocom_ms and l1ctl
[osmocom-bb.git]
/
src
/
host
/
layer23
/
src
/
mobile
/
app_mobile.c
diff --git
a/src/host/layer23/src/mobile/app_mobile.c
b/src/host/layer23/src/mobile/app_mobile.c
index
1766d7e
..
d9c07e1
100644
(file)
--- a/
src/host/layer23/src/mobile/app_mobile.c
+++ b/
src/host/layer23/src/mobile/app_mobile.c
@@
-161,11
+161,10
@@
int mobile_init(struct osmocom_ms *ms)
int rc;
gsm_settings_arfcn(ms);
int rc;
gsm_settings_arfcn(ms);
- ms->lapdm_channel.lapdm_dcch.l1_ctx = ms;
- ms->lapdm_channel.lapdm_dcch.l3_ctx = ms;
- ms->lapdm_channel.lapdm_acch.l1_ctx = ms;
- ms->lapdm_channel.lapdm_acch.l3_ctx = ms;
+
lapdm_channel_init(&ms->lapdm_channel);
lapdm_channel_init(&ms->lapdm_channel);
+ lapdm_channel_set_l1(&ms->lapdm_channel, l1ctl_ph_prim_cb, ms);
+
gsm_sim_init(ms);
gsm48_cc_init(ms);
gsm_subscr_init(ms);
gsm_sim_init(ms);
gsm48_cc_init(ms);
gsm_subscr_init(ms);