diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-29 19:51:29 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-09-30 13:15:24 +0200 |
commit | 1c3431db95950ea47938524921ce9ae6a7d2128b (patch) | |
tree | 2b868079018c2e92032894f0d9651cbaf02098a3 /include/osmo-bts | |
parent | d17beeacde000819c6481982da92fceed49eceb9 (diff) |
Delay abis reconnect while bts is shutting down
Avoid re-connecting to a new BSC while BTS is in shutting down. All the
FSMs are complex enough to even try to re-start when stopping has not
yet finished...
Change-Id: I1727828a16f4ec8043b00cc6b2e02a4c35f71377
Diffstat (limited to 'include/osmo-bts')
-rw-r--r-- | include/osmo-bts/bts_shutdown_fsm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/bts_shutdown_fsm.h b/include/osmo-bts/bts_shutdown_fsm.h index 1e74ac6b..76ac6ca6 100644 --- a/include/osmo-bts/bts_shutdown_fsm.h +++ b/include/osmo-bts/bts_shutdown_fsm.h @@ -39,3 +39,6 @@ enum bts_shutdown_fsm_events { }; extern struct osmo_fsm bts_shutdown_fsm; + +struct gsm_bts; +bool bts_shutdown_in_progress(const struct gsm_bts *bts); |