summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/app_mobile.c
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2010-07-28 15:06:02 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-29 11:12:31 +0200
commit5e81ff03518122c3d343ca74b1570ff8ff59baae (patch)
tree638fc35f645ec17a3ce1065ddffdd19cfe71b1c7 /src/host/layer23/src/mobile/app_mobile.c
parentdf3c7a9c99ff4f965f7a830febc0c43d95e66289 (diff)
[layer23] request a layer1 reset on startup of layer2 applications
This omits the need for starting layer23 applications before loading layer1 (which still works). Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/host/layer23/src/mobile/app_mobile.c')
-rw-r--r--src/host/layer23/src/mobile/app_mobile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c
index aa62be19..4599f99c 100644
--- a/src/host/layer23/src/mobile/app_mobile.c
+++ b/src/host/layer23/src/mobile/app_mobile.c
@@ -186,6 +186,7 @@ int l23_app_init(struct osmocom_ms *ms)
gsm_random_imei(&ms->settings);
+ l1ctl_tx_reset_req(ms, L1CTL_RES_T_FULL);
printf("Mobile initialized, please start phone now!\n");
return 0;
}