diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-11-14 11:52:57 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-11-14 11:52:57 +0000 |
commit | f8903f06d19f67d7dde85004e5e306cef7d199b6 (patch) | |
tree | 3968e5c5a68b211960b3d432022d14c232228872 /src/host/layer23/src/mobile/gsm322.c | |
parent | 2d8b427ef862b04dbf87ded883a4ee656ec38c34 (diff) |
[layer23] Cleanup of mobile application
All functions for handling mobile instances and mobile relevant parts are
moved to mobile/app_mobile.c, the mobile/main.c and mobile/mncc.c become a
simple out-of-the-box mobile application. (making calls)
The mobile/main.c can be replaced easily by a different application now.
this application may have it's own call control implementation (layer 4).
Full configurations via VTY is still possible and required in this case.
Diffstat (limited to 'src/host/layer23/src/mobile/gsm322.c')
-rw-r--r-- | src/host/layer23/src/mobile/gsm322.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/src/mobile/gsm322.c b/src/host/layer23/src/mobile/gsm322.c index 751b8b4b..3c920e4e 100644 --- a/src/host/layer23/src/mobile/gsm322.c +++ b/src/host/layer23/src/mobile/gsm322.c @@ -36,9 +36,9 @@ #include <osmocom/bb/common/osmocom_data.h> #include <osmocom/bb/common/networks.h> #include <osmocom/bb/mobile/vty.h> +#include <osmocom/bb/mobile/app_mobile.h> extern void *l23_ctx; -extern int (*l23_app_exit) (struct osmocom_ms *ms, int force); static void gsm322_cs_timeout(void *arg); static void gsm322_cs_loss(void *arg); @@ -2489,7 +2489,7 @@ int gsm322_l1_signal(unsigned int subsys, unsigned int signal, case S_L1CTL_RESET: ms = signal_data; if (ms->mmlayer.power_off_idle) { - l23_app_exit(ms, 1); + mobile_exit(ms, 1); return 0; } break; |