summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/app_mobile.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-24 12:23:17 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-24 12:23:17 +0200
commit04190eabd327cc598a7409cdad56013d1c8b5820 (patch)
treed75181ddcef748a3e9d4beab2d9a5f3a6e9f2783 /src/host/layer23/src/mobile/app_mobile.c
parent68d03b86f4c28319967fdf2b6056e2884e8a8de3 (diff)
lapdm: Introduce LAPDM_MODE_{BTS,MS} to run on both sides
We also introduce some related functions like lapdm_{entity,channel}_set_mode() lapdm_{entity,channel}_reset() This is all in preparation for the Osmo-BTS Work.
Diffstat (limited to 'src/host/layer23/src/mobile/app_mobile.c')
-rw-r--r--src/host/layer23/src/mobile/app_mobile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c
index d9c07e10..d68b724d 100644
--- a/src/host/layer23/src/mobile/app_mobile.c
+++ b/src/host/layer23/src/mobile/app_mobile.c
@@ -162,7 +162,7 @@ int mobile_init(struct osmocom_ms *ms)
gsm_settings_arfcn(ms);
- lapdm_channel_init(&ms->lapdm_channel);
+ lapdm_channel_init(&ms->lapdm_channel, LAPDM_MODE_MS);
lapdm_channel_set_l1(&ms->lapdm_channel, l1ctl_ph_prim_cb, ms);
gsm_sim_init(ms);