diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-01 18:09:34 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-01 18:09:34 +0200 |
commit | 9fa0cce100d25585f5a1baff3353cd54a5a58d5f (patch) | |
tree | 3a239039adf61bb154922deb8a7757f128e183b3 /src/osmo-bts-sysmo/main.c | |
parent | 0f827275d7fcaeb5a5e762e2382eaf1da6db7566 (diff) |
fix BTS initialization order
The sequence is as follows:
0) start osmo-bts
1) start connection attempts to BTS
2) issue L1-RESET.req
3) receive L1-RESET.conf
4) issue RF-ACTIVATE.req
5) receive RF-ACTIVATE.conf
6) receive attributes for TRX
7) receive opstart for TRX
8) issue MPH-INIT.req
[...]
The important point here is: We don't want the BSC to set TRX attributes or do
TRX opstart before our RF related hardware is initialized.
Diffstat (limited to 'src/osmo-bts-sysmo/main.c')
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index cf6aeae9..07ed8dcb 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -170,7 +170,7 @@ static void signal_handler(int signal) switch (signal) { case SIGINT: //osmo_signal_dispatch(SS_GLOBAL, S_GLOBAL_SHUTDOWN, NULL); - bts_shutdown(bts); + bts_shutdown(bts, "SIGINT"); break; case SIGABRT: case SIGUSR1: |